How to add user permisson to directory? [duplicate]
This question already has an answer here:
Giving a single user write permissions
2 answers
How can I give user or group write permissons to a folder? in terminal session.
I allready know how to change folder permission/owner.
I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.
I guess the question is can you give multible users acces to a folder like you do in windows?
or maybe just add the user to a group that allready has access?
:)
command-line server permissions
marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Giving a single user write permissions
2 answers
How can I give user or group write permissons to a folder? in terminal session.
I allready know how to change folder permission/owner.
I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.
I guess the question is can you give multible users acces to a folder like you do in windows?
or maybe just add the user to a group that allready has access?
:)
command-line server permissions
marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Giving a single user write permissions
2 answers
How can I give user or group write permissons to a folder? in terminal session.
I allready know how to change folder permission/owner.
I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.
I guess the question is can you give multible users acces to a folder like you do in windows?
or maybe just add the user to a group that allready has access?
:)
command-line server permissions
This question already has an answer here:
Giving a single user write permissions
2 answers
How can I give user or group write permissons to a folder? in terminal session.
I allready know how to change folder permission/owner.
I want to give user or group write permission to a folder without affecting the previous owner or permissions to the folder.
I guess the question is can you give multible users acces to a folder like you do in windows?
or maybe just add the user to a group that allready has access?
:)
This question already has an answer here:
Giving a single user write permissions
2 answers
command-line server permissions
command-line server permissions
asked Jan 24 at 8:23
gaujixgaujix
1
1
marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by karel, pa4080, Arronical, Charles Green, N0rbert Jan 24 at 20:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
you can use ACLs for that.
setfacl -m u:username:rwx /path/to/folder
- u: for username
- g: for group
- replace username with groupname for groups
- for folder use -R for recursive permissions.
If more information needed, just google for Linux ACLs, you will get tons of information.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
you can use ACLs for that.
setfacl -m u:username:rwx /path/to/folder
- u: for username
- g: for group
- replace username with groupname for groups
- for folder use -R for recursive permissions.
If more information needed, just google for Linux ACLs, you will get tons of information.
add a comment |
you can use ACLs for that.
setfacl -m u:username:rwx /path/to/folder
- u: for username
- g: for group
- replace username with groupname for groups
- for folder use -R for recursive permissions.
If more information needed, just google for Linux ACLs, you will get tons of information.
add a comment |
you can use ACLs for that.
setfacl -m u:username:rwx /path/to/folder
- u: for username
- g: for group
- replace username with groupname for groups
- for folder use -R for recursive permissions.
If more information needed, just google for Linux ACLs, you will get tons of information.
you can use ACLs for that.
setfacl -m u:username:rwx /path/to/folder
- u: for username
- g: for group
- replace username with groupname for groups
- for folder use -R for recursive permissions.
If more information needed, just google for Linux ACLs, you will get tons of information.
answered Jan 24 at 8:27
rɑːdʒɑrɑːdʒɑ
58.4k85218302
58.4k85218302
add a comment |
add a comment |