Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Message-ID: <019301c1beb4$e3e3ea80$6501a8c0@calvin> To: Subject: rm / rmdir not completely functionnal ? Date: Tue, 26 Feb 2002 11:48:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 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 AT 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/