sec_acl.cc

Corinna Vinschen cygwin-patches@cygwin.com
Wed Feb 5 16:45:00 GMT 2003


On Wed, Feb 05, 2003 at 05:37:38PM +0100, Corinna Vinschen wrote:
> On Wed, Feb 05, 2003 at 11:29:40AM -0500, Pierre A. Humblet wrote:
> > what good does it do to remove DELETE if unlink() does a
> > chmod(777) anyway, which puts it back?
> 
> $ touch foo
> $ rm foo
> $ touch foo
> $ chmod u-w foo
> $ rm foo
> rm: remove write-protected file `foo'? y
> $

Hmm, there's a flaw in the description.  The same would also occur with
DELETE set in the ACE.

But still, it's more correct, isn't it.

Surprise, surprise.  I've just tried to delete a file in Explorer with
the DELETE bit unset and there's *no* difference in behaviour at all.
The only interesting bit is the old FAT R/O attribute :-(((

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list