I have a share on an samba PDC that is restricted by acl:s and "inherit permissions" and "hide unreadable" is set to yes in smb.conf.
Acl list of share:
# file: data/share1
# owner: USER-A
# group: A
user::rwx
group::rwx
group:A:rwx
group:B:r-x
mask::rwx
other::---
The share contains several subdirectories:
SUBDIR-A: all users of group A has rwx rigths and group B --- rights.
SUBDIR-B: all users of group A and B has rwx rights.
SUBDIC-C: all users of group A has RWX and group B r-x rights.
Is there a way of automaticly denying access to users of group B to new files and dirs in root of the share?
Group B is automaticly getting the same rights as the root share to all new objects created...
If I don't use "inherit permissions = yes" then all new files created in subdirs are not readable by group B.
Any suggestions?
Acl list of share:
# file: data/share1
# owner: USER-A
# group: A
user::rwx
group::rwx
group:A:rwx
group:B:r-x
mask::rwx
other::---
The share contains several subdirectories:
SUBDIR-A: all users of group A has rwx rigths and group B --- rights.
SUBDIR-B: all users of group A and B has rwx rights.
SUBDIC-C: all users of group A has RWX and group B r-x rights.
Is there a way of automaticly denying access to users of group B to new files and dirs in root of the share?
Group B is automaticly getting the same rights as the root share to all new objects created...
If I don't use "inherit permissions = yes" then all new files created in subdirs are not readable by group B.
Any suggestions?