Ok, Further troubleshooting and reading have lead me to the problem. I have no
idea why but zfs restrictive permissioning does not work with windows clients.
If i provide the following to a directory, I have no problems accessing it:
r...@osbox:~# /usr/bin/chmod -R a=every...@full_set:fd:allow /zstorage/Share/
If I change something more restrictive, I lose my access.
r...@osbox:~# /usr/bin/chmod -R A=user:soft:read_set:fd:allow /zstorage/Share/
r...@osbox:~# /usr/bin/chmod -R A+user:soft:write_set:fd:allow /zstorage/Share/
Let's compare the two:
user with full rights -- I can access the share
r...@osbox:~# /usr/bin/ls -vd /zstorage/Share/
d---------+ 2 root software 2 Apr 13 17:18 /zstorage/Share/
0:user:soft: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
user with restrictive permissions -- can't access the share
r...@osbox:~# /usr/bin/ls -vd /zstorage/Share/
d---------+ 2 root software 2 Apr 13 17:18 /zstorage/Share/
0:user:soft:add_file/write_data/add_subdirectory/append_data/write_xattr
/write_attributes:file_inherit/dir_inherit:allow
1:user:soft:list_directory/read_data/read_xattr/read_attributes/read_acl
:file_inherit/dir_inherit:allow
What I noticed is at the top left side the permissions for rw are not listed
for the owner nor group nor other. If I make the change using the line below, i
regain access but my zfs permissions go out of wack:
r...@osbox:~# /usr/bin/chmod -R 740 /zstorage/Share/
r...@osbox:~# /usr/bin/ls -vd /zstorage/Share/
drwxr-----+ 3 soft software 4 Apr 14 01:23 /zstorage/Share/
0:user:soft:add_file/write_data/add_subdirectory/append_data/write_xattr
/write_attributes:file_inherit/dir_inherit/inherit_only:allow
1:user:soft::deny
2:user:soft:add_file/write_data/add_subdirectory/append_data/write_xattr
/write_attributes:allow
3:user:soft:list_directory/read_data/read_xattr/read_attributes/read_acl
:file_inherit/dir_inherit/inherit_only:allow
4:user:soft::deny
5:owner@::deny
6:owner@:list_directory/read_data/add_file/write_data/add_subdirectory
/append_data/write_xattr/execute/write_attributes/write_acl
/write_owner:allow
7:group@:add_file/write_data/add_subdirectory/append_data/execute:deny
8:group@:list_directory/read_data:allow
9:everyone@:list_directory/read_data/add_file/write_data
/add_subdirectory/append_data/write_xattr/execute/write_attributes
/write_acl/write_owner:deny
10:everyone@:read_xattr/read_attributes/read_acl/synchronize:allow
Can someone please explain what's happening here? I'm starting to become a
little frustrated with these conflicting permissions and the fact that this
forum is not too active. So much so, that I'm debating to go back to FreeBSD.
Thanks,
Mr. Hu Mongous (a.k.a Fatman)
--
This message posted from opensolaris.org
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss