This is the mail archive of the cygwin 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]
Other format: [Raw text]

1.7: Basic file operations fail on network shares provided by Tru64 Advanced Server


While Cygwin 1.5 played well with our legacy file server (Tru64 Advanced Server V5.1B-4 ECO2), 1.7 does not.

Although I seem to have sufficient write permissions (and actually can write to files), renaming (mv-ing) files fails with 1.7.1, 1.7.5-1 and 1.7.6-1 (others not tested) like this:
$ pwd
//dlanserv/KRAMSKI$/testperms
$ touch somefile
$ ls > otherfile
$ ls -la
total 4113
drwxr-xr-x+ 2 kramski Domain Users 8192 2010-08-23 15:53 ./
drwx------+ 84 kramski Domain Users 8192 2010-08-23 15:35 ../
-rw-r--r-- 1 kramski Domain Users 19 2010-08-23 15:53 otherfile
-rw-r--r-- 1 kramski Domain Users 0 2010-08-23 15:53 somefile
$ getfacl somefile
# file: somefile
# owner: kramski
# group: Domain Users
user::rw-
group::r--
mask:rwx
other:r--
$ rm otherfile
$ mv somefile newfile
mv: cannot move `somefile' to `newfile': Permission denied


With 1.7.5, it was at least possible to copy files successfully. After upgrading to 1.7.6-1, cp now also fails strangely:
$ cp somefile copyfile
cp: skipping file `somefile', as it was replaced while being copied


Mounting with the "noacl" option doesn't help:
$ mount -o noacl //dlanserv/kramski$ /mnt
mount: warning - /mnt does not exist.
mount: defaulting to 'notexec' mount option for speed since native path
references a remote share. Use '-f' option to override.
$ mount
//dlanserv/kramski$ on /mnt type cifs (text,notexec,noacl,user)
$ cd /mnt/testperms
$ ls -la
total 3088
drwxr-xr-x 2 kramski Domain Users 8192 2010-08-23 15:53 ./
drwxr-xr-x 84 kramski Domain Users 8192 2010-08-23 15:35 ../
-rw-r--r-- 1 kramski Domain Users 0 2010-08-23 15:53 somefile
$ mv somefile newfile2
mv: cannot move `somefile' to `newfile2': Permission denied


Here is some info about the network share:
      $ /usr/lib/csih/getVolInfo //dlanserv/KRAMSKI$/
      Device Type        : 7
      Characteristics    : 10
      Volume Name        : <DLANSERV     >
      Serial Number      : 4294967292
      Max Filenamelength : 255
      Filesystemname     : <NTFS>
      Flags              : 8
        FILE_CASE_SENSITIVE_SEARCH  : FALSE
        FILE_CASE_PRESERVED_NAMES   : FALSE
        FILE_UNICODE_ON_DISK        : FALSE
        FILE_PERSISTENT_ACLS        : TRUE
        FILE_FILE_COMPRESSION       : FALSE
        FILE_VOLUME_QUOTAS          : FALSE
        FILE_SUPPORTS_SPARSE_FILES  : FALSE
        FILE_SUPPORTS_REPARSE_POINTS: FALSE
        FILE_SUPPORTS_REMOTE_STORAGE: FALSE
        FILE_VOLUME_IS_COMPRESSED   : FALSE
        FILE_SUPPORTS_OBJECT_IDS    : FALSE
        FILE_SUPPORTS_ENCRYPTION    : FALSE
        FILE_NAMED_STREAMS          : FALSE
        FILE_READ_ONLY_VOLUME       : FALSE
        FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
        FILE_SUPPORTS_TRANSACTIONS  : FALSE

Using Windows explorer, every file operation is possible.

Tru64 Advanced Server is a proprietary Unix port of NT4 and should more or less behave like an NT server. Any ideas how to make it work with Cygwin 1.7?

TIA
     Heinz







Attachment: cygcheck.out
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]