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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 26 Aug 2003 07:59:39 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Johan Kruger cc: cygwin AT cygwin DOT com Subject: RE: Failing to delete files that is hold by makegroup In-Reply-To: <5AC9A01A8B1175418B4DF7F45DD94D5F1E5364@srvexch1.nanoteq.co.za> Message-ID: References: <5AC9A01A8B1175418B4DF7F45DD94D5F1E5364 AT srvexch1 DOT nanoteq DOT co DOT za> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ). 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 > > getfacl : > # 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 : > 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 '? > What about 'getfacl '? 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/