This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Failing to delete files that is hold by makegroup
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Johan Kruger <JKR at Nanoteq dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 26 Aug 2003 07:59:39 -0400 (EDT)
- Subject: RE: Failing to delete files that is hold by makegroup
- References: <5AC9A01A8B1175418B4DF7F45DD94D5F1E5364@srvexch1.nanoteq.co.za>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu]
> Sent: 25 August 2003 05:00
> To: Johan Kruger
> Cc: cygwin@cygwin.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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/