Hi guys. I could not find an answer searching around the forum so I'm hoping someone could answer this relatively simple question for me.
I currently have a SMB share for a dataset named "OTHER VIDEOS" which is shared through other users and a group.
I currently have the "OTHER VIDEOS" set as ACL TYPE = UNIX and MODE:rwxrwxr-x.
My problem is that whenever a user creates a new directory or adds a file on this dataset, the default permission is rwxrwxrwx.
How do you set the default as rwxrwxr-x when users create a file or folder?
I have tried chmod -R 775 "OTHER VIDEOS" which recursively sets the permissions to rwxrwxr-x but this does not default when users create a new folder directory.
I have tried setfacl -d -m other@:r-x---a-R-c--s:-------:allow "OTHER VIDEOS" but if gives me the following error:
setfacl: malformed ACL: invalid "tag" field
setfacl: other@:r-x---a-R-c--s:-------:allow: Invalid argument
I have also tried setfacl -d -m o::r-x---a-R-c--s:-------:allow "OTHER VIDEOS" but it gives me the same error.
I currently have a SMB share for a dataset named "OTHER VIDEOS" which is shared through other users and a group.
I currently have the "OTHER VIDEOS" set as ACL TYPE = UNIX and MODE:rwxrwxr-x.
My problem is that whenever a user creates a new directory or adds a file on this dataset, the default permission is rwxrwxrwx.
How do you set the default as rwxrwxr-x when users create a file or folder?
I have tried chmod -R 775 "OTHER VIDEOS" which recursively sets the permissions to rwxrwxr-x but this does not default when users create a new folder directory.
I have tried setfacl -d -m other@:r-x---a-R-c--s:-------:allow "OTHER VIDEOS" but if gives me the following error:
setfacl: malformed ACL: invalid "tag" field
setfacl: other@:r-x---a-R-c--s:-------:allow: Invalid argument
I have also tried setfacl -d -m o::r-x---a-R-c--s:-------:allow "OTHER VIDEOS" but it gives me the same error.