I have created a new group called "city". Added 2 users in that group:
Changed the owner/group of a folder:
chown -R admin:city /folder
chmod -R g+ws /folder
So the group users could read & edit all files within this folder. However when user "moderator" creates a new file it gets following owners:
- group: city
- owner: moderator
That means a user "admin" cannot edit that file without sudo. How to force group users to create a file as "admin"?