Michael Sichler
2009-Aug-11 18:36 UTC
[zfs-discuss] Build 119 CIFS / Unix File Permission Oddity
Background: Have a test server running SECE Build 119 configured as a CIFS server in Domain Mode. Build 119 was required because in our test environment we have a Windows 2008 Domain and the DCs have SP2 installed. I Joined the server to the domain, created a ZFS file system and shared it out. All appears fine except..... Problem: If the CIFS share is mounted from another OpenSolaris or other Unix system, one cannot redirect the output of a command to an existing file even though the user has ownership and full control of the file. Example: -bash-3.2# mount -F smbfs "//TESTDOMAIN;user at FILESERVER/scratch/" /mnt/tmp -bash-3.2# cd /mnt/tmp -bash-3.2# ls -1 file1 file2 -bash-3.2# ls > file1 -bash: file1: Permission denied (Yet I am the owner of the file and I can delete the file) I can append the file and delete the file, just not overwrite the file -bash-3.2# ls >> file1 (Works) -bash-3.2# rm file1 (Works) Also, from a Windows system I can overwrite the file with the following command at a command prompt: P:\ dir > file1 Any thoughts would be greatly appreciated. -- This message posted from opensolaris.org