Sample Header Ad - 728x90

Inherit ownership and permissions to directories and files

0 votes
1 answer
744 views
I have a directory test with the owner user:group and 770 as permissions. I want, that every directory and file within test do have the same specifications. I tried chmod g+s,u+s test, which partially worked: directories within that folder do inherit the ownership and permissions, but files only the owners, not the permissions. I also tried chmod g+t test, which was a total failure. How can i achieve the desired result? Edit: the administrator does not allow to install ACL and umask does dont work, since the files won't be generates from a CLI
Asked by Timo Treichel (101 rep)
Sep 18, 2023, 03:25 PM
Last activity: Sep 19, 2023, 12:01 PM