This is the mail archive of the cygwin@sources.redhat.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: CVS permissions problem with network drive


Corinna Vinschen wrote:
> 
> Could you please send me (to my personal account) straces of
> `touch foo' and `chmod 666 foo'? Gzipped would be nice.

You are NOT going to believe this.

$ id
uid=1000(cwilson) gid=513(None) groups=513(None)
$ umask
002
$ cd //belgarion/Common
$ strace touch foo > ~/touch_foo.txt
$ ls -l foo
-rw-rw-rw-   1 csw_belg None            0 Dec 14 01:54 foo

## when using strace, the file is created with permission=666

$ rm foo
$ touch foo
$ ls -l foo
-r--r--r--   1 csw_belg None            0 Dec 14 01:57 foo

## without strace, the file is created with permission=444
## neither one is the correct value, 664, according to my umask.

$ strace chmod 666 foo > ~/chmod_666_foo.txt
$ ls -l
-r--r--r--   1 csw_belg None            0 Dec 14 01:57 foo

touch_foo.txt, chmod_666_foo.txt, and cygcheck.txt are tar.gz'ed and
attached.

> Would you mind to use a special test DLL later, potentially?
> Perhaps the current trace output isn't sufficient to find the
> reason.

Sure, no problem.

--Chuck

corinna.tar.gz

--
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]