I am running snv_81 and have a ZFS filesystem that is exported via CIFS, which 
I am accessing from Linux, OSX, and Windows.

I can mount the share without any problems, but I'm running into something with 
permissions that I don't understand.

>From Linux, here is what I'm seeing:

$ touch test
$ echo "foo" > test
bash: test: Permission denied
$ echo "foo" >> test
$ cat test
foo
$ rm test

In essence, I can create, delete, and append to files -- but I can't open them 
to be rewritten.  From Solaris, here are the file permissions:

# ls -vd .
drwxrwxrwx+ 10 songof    other         12 Feb 12 05:34 .
     0:everyone@:list_directory/read_data/add_file/write_data
         /add_subdirectory/append_data/read_xattr/write_xattr/execute
         /delete_child/read_attributes/write_attributes/delete/read_acl
         /write_acl/write_owner/synchronize:file_inherit/dir_inherit:allow

# ls -v test
-rwxrwxrwx+  1 songof    other          4 Feb 12  2008 test
     0:everyone@:read_data/write_data/append_data/read_xattr/write_xattr
         /execute/delete_child/read_attributes/write_attributes/delete
         /read_acl/write_acl/write_owner/synchronize:inherited:allow

...what's interesting is that from OSX, this problem does not appear.  I can 
execute the exact same series of commands from an OSX shell without any 
failures.

If it is of any interest, here is the relevant line from my Linux /etc/fstab 
file:

//remembering/remembering   /media/remembering   cifs   
auto,credentials=/etc/cifs/credentials.conf,rw,uid=songof,workgroup=WORKGROUP   
0   0

I don't think that I was observing this until I upgraded to b81 from b78, but I 
can't be sure.  Anyone have any insight?

Thanks
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to