delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/26/08:49:27

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Failing to delete files that is hold by makegroup
Date: Tue, 26 Aug 2003 14:48:58 +0200
Message-ID: <5AC9A01A8B1175418B4DF7F45DD94D5F1E536D@srvexch1.nanoteq.co.za>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Johan Kruger" <JKR AT Nanoteq DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h7QCnQB19445

Hello Igor,

The files could not even be deleted in Windows Explorer, I have searched and tried I'd say 30 methods if not more. Then suddenly I ran a script file trying to build code into the same directory and whala the directories just dissappear. I think it may be possible that make was somehow, even after rebootting still holding some links to the files, I do not know as I have never had this problem on my XP machine. Mabe this is a Windows2K feature ?

Thanks in any case for your suggestions, the newbie is taking note !

Johan!

-----Original Message-----
From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]
Sent: 26 August 2003 02:00
To: Johan Kruger
Cc: cygwin AT cygwin DOT com
Subject: RE: Failing to delete files that is hold by makegroup


Johan,

Well, for one, why not use "rm -rf" instead?  I'm not at all sure the -d
flag is even implemented on Cygwin.

Also, the value "mkgroup_l_d" for your group means that your /etc/group
doesn't contain the group of the file owner.  Please make sure it's up to
date (see <http://cygwin.com/cygwin-ug-net/ntsec.html>).

If the above still doesn't help, perhaps someone more knowledgeable in
ntsec behavior can chime in.  BTW, can you delete the directory using
Windows explorer (I'm not suggesting this as a workaround, just a data
point)?
	Igor

On Tue, 26 Aug 2003, Johan Kruger wrote:

> Hi,
>
> I am using rm -df <dir>
>
> getfacl <dir>:
> # file: build_insight/
> # owner: jkr
> # group: mkgroup_l_d
> user:rwx
> user:jkr:rwx
> mask:rwx
> other:rwx
> default:user:rwx
> default:group:rwx
>
> ls -ld <dir>:
> drwxrwxrwx+     18      jkr     mkgroup_        4096 Aug 21 13:08       build_insight/
>
> I hope that you can help, I am a newbie at this unix stuff.
>
> Thanks,
> Johan Kruger
>
>
> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]
> Sent: 25 August 2003 05:00
> To: Johan Kruger
> Cc: cygwin AT cygwin DOT com
> Subject: Re: Failing to delete files that is hold by makegroup
>
>
> On Mon, 25 Aug 2003, Johan Kruger wrote:
>
> > Hi,
> >
> > Please help, on my Windows2000 machine a failed build script has left a
> > directory on my machine that I am unable to delete, I have searched the
> > internet, tried chmod to no avail, even tried shred. I am in a bit of
> > confusion at this stage.
> >
> > Thanks,
> > Johan Kruger
>
> Johan,
>
> What program do you use to delete directories?  What message are you
> getting when you try to delete that directory?
>
> If you get "permission denied", what is the output of 'ls -ld <dir>'?
> What about 'getfacl <dir>'?  Who is the owner of the directory?
>         Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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