[OmniOS-discuss] Why does samba use file permissions instead share permission?

Jim Klimov jimklimov at cos.ru
Tue May 2 13:45:06 UTC 2017


On May 2, 2017 10:48:16 AM GMT+03:00, "Özkan Göksu" <ozkan.goksu at usishi.com> wrote:
>Hello.
>I want to give Share permission to my cifs share but i guess unix only
>able
>to give file permission like:
>> /usr/bin/chmod -R A+group@:full_set:fd:allow  pool/test
>
>This is the bad way because i have couple of million file in some
>shares
>and the job tooks almost days...
>Every time i don't want to set every file in this directory.
>
>
>> At Windows side file or folder has 2 different permission:
>> 1- File permission.
>> 2- Share permission.
>
>> If i use Share permission i dont need to set chmod every file or
>folder
>in directory. it tooks few seconds with that way.
>
>Can i use the share permission on solaris?

Take a look at the (normally hidden - so just go direct-access it) .zfs directory. You can set kernel-cifs share acl on datasetname/.zfs/shares/sharename object.
--
Typos courtesy of K-9 Mail on my Redmi Android


More information about the OmniOS-discuss mailing list