Home » Questions » Computers [ Ask a new question ]

How to make files created in a directory owned by directory group?

How to make files created in a directory owned by directory group?

Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?

Asked by: Guest | Views: 342
Total answers/comments: 1
bert [Entry]

"If you chmod g+s directory then all the files created in that directory will be owned by that group.

newgroup is really a holdover from the days when you could only be in one group, and isn't really needed nowadays."