delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/26/06:01:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: <tsmets AT lautre DOT net>
Message-ID: <019301c1beb4$e3e3ea80$6501a8c0@calvin>
To: <cygwin AT cygwin DOT com>
Subject: rm / rmdir not completely functionnal ?
Date: Tue, 26 Feb 2002 11:48:51 +0100
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019