[OmniOS-discuss] Why does samba use file permissions instead share permission?
Guenther Alka
alka at hfg-gmuend.de
Tue May 2 10:42:39 UTC 2017
Are you really using SAMBA?
SAMBA is available on Solarish but the default SMB server on Solarish is
the kernelbased and in ZFS embedded SMB server that comes with full
AD/nfs4 ACL support, ZFS snaps as Windows previous versions and Windows
ntfs compatible file-based and share-based permissions.
If you only want sharebased permissions, you must set share permission
as an ACL to the share control file pool/test/.zfs/shares/test. This
file is automatically created when you enable SMB on a filesystem. As
this is an additional restriction to file permission, keep filebased
permissions unrestricted.
Gea
Am 02.05.2017 um 09:48 schrieb Özkan Göksu:
> 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?
>
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170502/12d5b1db/attachment.html>
More information about the OmniOS-discuss
mailing list