rm / rmdir not completely functionnal ?
tsmets@lautre.net
tsmets@lautre.net
Tue Feb 26 03:24:00 GMT 2002
I took a copy of my linux /etc directory to analyse "it".
When done with it I tried to remove it with the following commands :
$ cd /tmp
$ rm -dfvR ./etc
$ rm -dfvR ./etc
removing `./etc'
rm: cannot unlink `./etc': Not owner
$ ls -la
total 11751
drwxr-xr-x 4 Administ None 4096 Feb 26 11:40 .
drwxr-xr-x 12 Administ None 4096 Feb 7 15:39 ..
-rw-r--r-- 1 Administ None 11052 Feb 21 02:15
PolicyExplained.xml
drwxr-xr-x 2 Administ None 4096 Apr 19 2001
aberystwyth-2001-summary
-rw-r--r-- 1 Administ None 71680 Feb 18 13:53
aberystwyth-2001-summary.t
-rw-r--r-- 1 Administ None 10588160 Feb 26 11:33
config_etc2.tar
drwxr-xr-x 42 Administ None 49152 Feb 26 11:37 etc
-rw-r--r-- 1 Administ None 593537 Feb 21 22:42
iptables-tutorial.pdf.gz
-rw-r--r-- 1 Administ None 277824 Feb 26 02:00 syslog
-rw-r--r-- 1 Administ None 213057 Feb 26 02:10 syslog.ipt
-rw-r--r-- 1 Administ None 213057 Feb 26 02:12 syslog2.ipt
Administrator@CALVIN /tmp
If I try to empty the director, I got the following :
$ cd ./etc
$ rm -fRv *
removing `Bastille'
rm: cannot unlink `Bastille': Not owner
removing `X11'
rm: cannot unlink `X11': Not owner
removing `alternatives'
rm: cannot unlink `alternatives': Not owner
removing `cron.d'
rm: cannot unlink `cron.d': Not owner
removing `cron.daily'
rm: cannot unlink `cron.daily': Not owner
removing `cron.hourly'
rm: cannot unlink `cron.hourly': Not owner
removing `cron.monthly'
rm: cannot unlink `cron.monthly': Not owner
... and so on ...
Could some one tell me how I should do ?
Tx,
THomas,
--
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Bruxelles
yahoo-id : smetsthomas
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list