[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Development permissions



On 9/22/21 8:53 AM, Reco wrote:
	Hi.

On Tue, Sep 21, 2021 at 11:09:41PM -0400, Paul M. Foster wrote:
Without setting directory and file permissions to 777, how do you
allow the above? What combinations of groups, directory
owners/permissions and file owners/permissions might make this
possible?

Solution #1:

1) Make a group, add users to it.
2) Chgrp directory to the group from step 1.
3) Set directory permissions to 2770 (i.e. you will need setgid on
directory), or 2775 if you need world-readable directory.
4) Ensure users' umask is set to 0007.


Solution #2:

Set ACL to u:<user>:rwx on a directory, and make sure it made to the
"default" set of permissions (i.e. you'll need setfacl -d).

Reco


In addition to umask and acl, there is also a FUSE based bindfs.


Reply to: