Answer the question
In order to leave comments, you need to log in
How in linux to assign default permissions for a directory and all created, copied and transferred files and directories in it?
Greetings!
There is a machine running GNU/Linux Debian Sid. It is configured to authorize Windows domain users. All domain users are included in the Domain Users group.
There is a "ShareFolder" directory (access for "domain users" - rwx), to which symlinks are created to the home directories of users (and all new ones via /etc/skel). This directory is also shared by Samba as "Shared Documents" (valid user = "@domain users").
In the Samba settings for the balls, the following parameters are specified:
[Общие документы]
comment = Общие документы vt-4
path = /var/ShareFolder
read only = no
create mask = 0660
directory mask = 0770
force group = "пользователи домена"
valid users = "@пользователи домена"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question