Config Samba with separate access to the folders?

0 like 0 dislike
there is folder structure
public (put in it two folders)

there are users отдела1 and отдела2.

We need to organize what would users отдела1 could be rummaged on all the folders and write only in their own, so as the user отдела2 only write to their folder.

the public folder mounted as a network drive for all users.

I know how to organize access to specific folders, but how to be with nested?
by | 8 views

1 Answer

0 like 0 dislike
chown-R :wheel /public chown-R :otdel1 /public/otdel1 chown-R :otdel2 /public/otdel2 chmod-R g=rwX,a=rX /public

Well and user, respectively, to add to the desired group

Related questions

110,608 questions
257,186 answers
32,810 users