This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Writing to Windows Share issues fixed in cygwin1-20110829.dll.bz2
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@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@laptop-pc) /cygdrive/z>mkdir -p foo/bar/baz
# 3 - Comments: Change to the "leaf" directory:
Fri Sep 16 10:25:33 (kchristian@laptop-pc) /cygdrive/z>cd foo/bar/baz
# 4 - Comments: Create a test file:
Fri Sep 16 10:25:52 (kchristian@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@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@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@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@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@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@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@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@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@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