Create one user with some permission reading and writing

Issues related to applications and software problems
Post Reply
Riccardo1987
Posts: 6
Joined: 2019/08/08 10:37:32

Create one user with some permission reading and writing

Post by Riccardo1987 » 2019/12/09 08:47:41

Good morning,
I have to create one Centos user with reading permission for all files and folders but this user have to write only one folder.
What sould I create this user? There are Centos groups with this permission?

Thank you.

Best regards
Riccardo

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Create one user with some permission reading and writing

Post by aks » 2019/12/15 08:32:29

What sould I create this user?
Whatever you use to normally create users on the system.
There are Centos groups with this permission?
Not built in - it would not be reasonable (how would the system "know" what specific needs you have before it's in your shop?)

Create a custom group. Create the user and add that user as a supplemental member of that custom group. Assign the required permissions to the group. If you need more granular access have a look at setfacl/getfacl to control acls.

Post Reply