You are not logged in.
I need to force mask file creation in one dir.
Basically this is the situation
"document" is a shared dir, SGID is already set on the dir so all new files are created as group "office".
But they are created with 644 mask so they are not accessible by other users in the group.
I do not want change the default user mask with umask because of security reason, but I need that in this dir file are created with 664 mask.
Suggestion??
Offline
make a cron-job that will do the stuff.
It is far crappy, but it works
Offline
I Think I should run the cronjob each minute in order to prevent problems.
Is it possible that there is no other way?
even samba can force mask user and group on per share ......
There should be another way......
Offline