CVS permissions problem with network drive
Charles Wilson
cwilson@ece.gatech.edu
Wed Dec 13 10:49:00 GMT 2000
Corinna Vinschen wrote:
>
> Chuck, I would really like to do this but it works for me.
> If I only would know the difference between your and my system...
One difference is that the 'cwilson' user has different UID's on the
local and remote system (1000 on local, 1002 on remote). After adding
this line to my local /etc/passwd (ignore linewrapping):
csw_belg::1002:513:Charles Wilson on
Belgarion,S-1-5-21-144006512-467950226-1660491571-1002://belgarion/ehlana/Users/cwilson:/bin/bash
Now, at least, ls on the remote system shows 'csw_belg' as owner -- of
the NEW file -- instead of '1002'. I notice that your (Corinna's)
username on your remote system is 'corinna' -- just as it is 'corinna'
on your local system -- is that because your UID is the same on both
systems? Could that difference cause the disparity in our results?
(Also, I notice that 'corinna' is a member of the 'root'
(Administrators?) group on the remote system).
$ cd //belgarion/Common
$ umask
002
$ id
uid=1000(cwilson) gid=513(None) groups=513(None)
# FILES (corinna's answers also listed below)
$ touch foo
$ ls -l foo
-r--r--r-- 1 csw_belg None 0 Dec 13 13:43 foo
### -rw-rw-r-- 1 corinna root 0 Dec 13 09:52 foo
$ chmod 666 foo
chmod: foo: Permission denied
$ ls -l foo
-r--r--r-- 1 csw_belg None 0 Dec 13 13:43 foo
### -rw-rw-rw- 1 corinna root 0 Dec 13 09:52 foo
--Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list