I am running openSUSE 11.0 on a server which is copying (and processing) a lot of files.
The new folders, which were received by some service running, have the default permissions drwxr-sr-x
and the file are -rw-r--r--
.
My goal is to have default permissions for folder like drwxrwsr-x
and for files like -rwxrwsr--
everytime a new file is creating or copied.
So basically I want to keep the group's write permissions.
This setting is supposed to be aimed at one specific user, not systemwide!
The group and owner of the files/ folders are always the same, also the processing (services and scrips) is running with the permissions of this one user.
The umask of this user is: 0002. (So umask isn't substracting the group's default write permissions.)
Thanks in advance for your help!