This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sec_acl.cc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]