This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: Latest Snapshot


> The output of these commands differ with differing dlls:
> With cygwin1.dll version 1.1.1, I get:
> $ mkdir a
> $ chmod a-w a
> $ touch a/b
> $ echo Hi >a/c
> $ rm a/b
> rm: a/b: Permission denied
> $ rm a/c
> rm: a/c: Permission denied
> $ rm -rf a
> rm: a/b: Permission denied
> rm: a/c: Permission denied
> rm: a: Permission denied
> $ chmod a+w a
> $ rm -rf a
> 
> However, with the new snapshot I get:
> $ mkdir a
> $ chmod a-w a
> $ touch a/b
> $ echo Hi >a/c
> $ rm a/b
> $ rm a/c
> $ rm -rf a
> rm: a: Permission denied
> $ chmod a+w a
> $ rm -rf a
> 
> I can delete files from a without having write permission to 
> a when using
> the new dll. This is not the behaviour that I would expect.
> 
> I do not know enough about the inner workings of cygwin to 
> know for sure
> whether or not its a problem with the snapshot, or if its a 
> problem with
> my setup. 

This is a due to a change that Corinna made for accessing SAMBA drives.  It
is the expected behavior given these changes.  If you want the details check
out this thread,
http://sourceware.cygnus.com/ml/cygwin-developers/2000-05/threads.html#00189
.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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