X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_LR,TW_RW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 16 Sep 2011 11:17:35 -0600 Message-ID: Subject: Re: Writing to Windows Share issues fixed in cygwin1-20110829.dll.bz2 From: Keith Christian To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I was wrong. Only some improvement using the cygwin1-20110829.dll.bz2 snapshot. Problems still exist when trying to check in a file with RCS on this Windows share. Annotated test example below. Apologies for not being brief. Any ideas appreciated. However, progress has been made with the 0829 snapshot, at least I can create files on this share...... # 1 - Comments: Verify the version of cygwin1.dll: Fri Sep 16 10:24:20 (kchristian AT laptop-pc) /cygdrive/z>uname -a CYGWIN_NT-5.1 laptop-pc 1.7.10s(0.251/5/3) 20110829 15:53:50 i686 Cygwin # 2 - Comments: Create a directory tree on the file share: Fri Sep 16 10:24:29 (kchristian AT laptop-pc) /cygdrive/z>mkdir -p foo/bar/baz # 3 - Comments: Change to the "leaf" directory: Fri Sep 16 10:25:33 (kchristian AT laptop-pc) /cygdrive/z>cd foo/bar/baz # 4 - Comments: Create a test file: Fri Sep 16 10:25:52 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>pwd > testfile.1 # 5 - Comments: Cat the file to verify its contents: Fri Sep 16 10:26:05 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>cat testfile.1 /cygdrive/z/foo/bar/baz # 6 - Comments: Show file permissions and ownership: Fri Sep 16 10:27:58 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>ls -l testfile.1 -rwx------+ 1 kchristian Domain Users 24 Sep 16 10:26 testfile.1 # 7 - Comments: See what Windows rights are: Fri Sep 16 10:28:01 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>cacls testfile.1 Z:\foo\bar\baz\testfile.1 COMPANY_XYZ\kchristian:C BUILTIN\Administrators:F NT AUTHORITY\SYSTEM:F # 8 - Comments: Create an RCS directory. Fri Sep 16 10:31:12 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>mkdir RCS # 9 - Comments: Show the newly created RCS file permissions and ownership: Fri Sep 16 10:31:24 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>ls -dl RCS/ drwx------+ 1 kchristian Domain Users 0 Sep 16 10:31 RCS/ # 10 - Comments: See what Windows rights are: Fri Sep 16 10:31:33 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>cacls RCS Z:\foo\bar\baz\RCS COMPANY_XYZ\kchristian:(OI)(CI)C BUILTIN\Administrators:(OI)(CI)F NT AUTHORITY\SYSTEM:(OI)(CI)F # 11 - Comments: Check testfile.1 into RCS - first indication of problems. Unable to use the "testfile.1" name with a ",v" appended to it: Fri Sep 16 10:31:35 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>ci -l -m"Attempted check in using 20110829 Cygwin snapshot" -t-"Testing new cygwin snapshot to see if it fixes Windows Share writing difficulties" ./testfile.1 ./RCS/testfile.1,v <-- ./testfile.1 initial revision: 1.1 ci: ./RCS/testfile.1,v: Permission denied ci: saved in ./RCS/_0qrsNBd # 12 - Comments: Directory listing of the temporary filename in RCS. (The contents of _0qrsNBd are correct, howver.) Fri Sep 16 10:32:06 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>ls -alrtR RCS RCS: total 1 drwx------+ 1 kchristian Domain Users 0 Sep 16 10:31 .. -rwx------+ 1 kchristian Domain Users 338 Sep 16 10:32 _0qrsNBd drwx------+ 1 kchristian Domain Users 0 Sep 16 10:32 . # 13 - Comments: Cygwin's interpretation of ACL's of the RCS directory: Fri Sep 16 10:32:37 (kchristian AT laptop-pc) /cygdrive/z/foo/bar/baz>getfacl RCS # file: RCS # owner: kchristian # group: Domain Users user::rwx group::--- group:root:rwx group:SYSTEM:rwx mask:rwx other:--- default:user::rwx default:user:kchristian:rwx default:group::--- default:group:root:rwx default:group:SYSTEM:rwx default:mask:rwx default:other:--- # 14 - Comments: DONE. ======Keith -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple