Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A37C57B.8F363AED@ece.gatech.edu> Date: Wed, 13 Dec 2000 13:52:43 -0500 From: Charles Wilson X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com Subject: Re: CVS permissions problem with network drive References: <3A368A98 DOT C1CE59BE AT ece DOT gatech DOT edu> <0012131108080H DOT 05746 AT cygbert> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AT sourceware DOT cygnus DOT com