[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] complete site removed - but why??
- Subject: [cobalt-users] complete site removed - but why??
- From: michael.homann@xxxxxxx
- Date: Fri Jul 5 05:56:07 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hello,
after copying and extracting the file "save.tar" into the directory
/home/sites/www.mydomain789.de/web I changed the user- and group-ownership
of all the virtual site's files.
Although the user did exist the user-ownership hasn't been changed. (As you
can see below I was too fast and missed that it didn't work...)
After changing the ownership I wanted to remove the file save.tar. I typed
"rm sa", pressed the "tab-key" and hit "enter" but the command (for which
reason ever?) didn't change to "rm save.tar".
Then I did an "ls -la" and was shocked that everything (files, link, v-site
directory) was removed.
Does anyone have an idea why the complete site was removed by this command?
It even doesn't appear in the cobalt-webinterface anylonger...
[root web]# tar -xf save.tar
[root web]# ls
backgrd.gif index.htm index.html.ORG index1.html management tarif
weiterb
home.gif index.html index1.htm info save.tar
volontaere
[root web]# ls -la
total 1246
drwxrwsr-x 7 nobody site28 1024 Jul 5 11:19
.
drwxrwsr-x 6 nobody site28 1024 Jul 5
11:18 ..
[...]
-rw-rw-r-- 1 800 108 2273 Sep 2 1999
index.htm
[...]
[...]
-rw-r--r-- 1 admin admin 1208320 Jul 5 11:16
save.tar
[...]
[root web]# chown d3015661.site28 * -R
[root web]# ls -la
total 1246
drwxrwsr-x 7 nobody site28 1024 Jul 5 11:19 .
drwxrwsr-x 6 nobody site28 1024 Jul 5 11:18 ..
[...]
-rw-rw-r-- 1 189 site28 2273 Sep 2 1999
index.htm
[...]
-rw-r--r-- 1 189 site28 1208320 Jul 5 11:16 save.tar
[...]
[root web]# rm sa
rm: cannot remove `sa': No such file or directory
[root web]# ls -la
total 0
[root web]# pwd
/home/sites/www.mydomain789.de/web
[root web]# ls -la
total 0
Thank you in advance for your help and ideas.
Regards,
Michael Homann.