Sample Header Ad - 728x90

How to make new files have 0664 permissions rather than 0644?

2 votes
2 answers
2363 views
I have a directory of subdirectory and files, with the files' permissions set at 0664. The directory and subdirectories are set at 2775, so all new files made have the same group set as the directory. New files made in the directories have permissions set to 0644. Is there anything that can be done to make new files have the permissions set to 0664 instead, in a similar fashion to using setgid for the group owner of the files?
Asked by paradroid (1235 rep)
Aug 8, 2015, 01:24 AM
Last activity: Oct 24, 2024, 04:04 PM