On 2015-06-17 10:29, lejeczek wrote:> hi everybody,
> I do not suppose, however I hope I can be wrong, one could in/via samba
> set default perms for a folder(s) within a share?
> A simple test case would be, where share is (default) 755 but one folder
> would be 775.
> Am I wright and this can be achieved only through underlying ACL of the
> filesystem?
Yes. Posix ACLs in particular distinguish between regular ACLs (for
existing objects) and default ACLs (ACLs applied to newly created child
objects). You can e.g. set a regular and default ACL equalling 755 for
the whole share, and change only the ACLs for that particular "shared"
directory (and then either change default+regular ACLs, so all
sub-directories are also group-writeable, or change only regular ACLs,
to keep sub-directories not writeable to groups).
>
> cheers.
--
Mit freundlichen Gr??en, / Best Regards,
Sven Schwedas
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
http://software.tao.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.samba.org/pipermail/samba/attachments/20150617/d686d333/attachment.pgp>