Thanks for the advice.
I assigned full rights to everyone for the /zstorage directory.
r...@osbox:~# /usr/bin/chmod -R A=everyone@:full_set:allow /zstorage/
r...@osbox:~# /usr/bin/ls -vd /zstorage/
drwxrwxrwx+ 6 root root 6 Apr 9 21:16 /zstorage/
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:allow
No problems accessing the directory.
Next I setup the share:
r...@osbox:~# zfs create -o casesensitivity=mixed -o nbmand=on zstorage/Pictures
I added my restrictive permissions:
r...@osbox:~# /usr/bin/chmod -R A=owner@:full_set:allow /zstorage/Pictures/
r...@osbox:~# /usr/bin/chmod -R
A+group:software:read_data/write_data/read_attributes/write_attributes/read_acl:file_inherit:allow
/zstorage/Pictures/
r...@osbox:~# /usr/bin/chgrp -R software /zstorage/Pictures/
r...@osbox:~# /usr/bin/chown -R root /zstorage/Pictures/
r...@osbox:~# /usr/bin/ls -vd /zstorage/Pictures/drwx------+ 8 user
software 8 Apr 11 20:55 /zstorage/Pictures/
0:group:software:list_directory/read_data/add_file/write_data
/read_attributes/write_attributes/read_acl:file_inherit:allow
1:owner@: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:allow
r...@osbox:~# svcadm restart smb/server
Although I can access the main share, the restrictive permissions give me
access denied. What have I done wrong here?
Thanks,
Mr. Hu Mongous
--
This message posted from opensolaris.org
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss