Sample Header Ad - 728x90

Set group and mod of a new directory

0 votes
0 answers
31 views
I try to set for NEW created files/directories in /home/test: 1) group to "test" 2) right to "770" This works for the group (1). chown :test /home/test chmod g+s /home/test But I do not get it for the rights (2). I want to set this behaviour to the directory /home/test and not to a user-setting (umask).
Asked by chris01 (869 rep)
Jan 2, 2024, 09:51 AM
Last activity: Jan 2, 2024, 10:28 AM