Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-02-2015, 04:43 AM
|
#1
|
Member
Registered: Sep 2013
Posts: 321
Rep: 
|
change ACL
I have a directory , it acl setting is as below .
#getfacl my_path
group:root:r-x
group:acc_staff:rwx
group:itaudit:r-x
If I want to change the acl setting to as below ( the group name from acc_staff to edp_staff ) , can advise how to do it ? thanks
group:root:r-x
group:edp_staff:rwx
group:itaudit:r-x
|
|
|
06-02-2015, 08:00 AM
|
#2
|
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Rep: 
|
|
|
|
06-02-2015, 09:04 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,727
|
Quote:
Originally Posted by byran cheung
I have a directory , it acl setting is as below .
#getfacl my_path
group:root:r-x
group:acc_staff:rwx
group:itaudit:r-x
If I want to change the acl setting to as below ( the group name from acc_staff to edp_staff ) , can advise how to do it ? thanks
group:root:r-x
group:edp_staff:rwx
group:itaudit:r-x
|
You can start by checking the THREE OTHER THREADS you have about ACL's:
http://www.linuxquestions.org/questi...cl-4175541082/
http://www.linuxquestions.org/questi...ux-4175524919/
http://www.linuxquestions.org/questi...on-4175524369/
At some point, you are going to have to start to APPLY what you're told, rather than asking to be spoon-fed everything. You have been given information about ACL's and how to set them. Why can't you think about what you want to do, and apply that knowledge?
|
|
|
06-02-2015, 12:09 PM
|
#4
|
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Rep: 
|
Quote:
Originally Posted by TB0ne
Why can't you think about what you want to do, and apply that knowledge?
|
Because that would require some thought?
|
|
1 members found this post helpful.
|
06-11-2015, 11:55 AM
|
#5
|
Member
Registered: Dec 2007
Distribution: Fedora, Oracle Linux & Centos
Posts: 197
Rep:
|
Quote:
Originally Posted by byran cheung
I have a directory , it acl setting is as below .
#getfacl my_path
group:root:r-x
group:acc_staff:rwx
group:itaudit:r-x
If I want to change the acl setting to as below ( the group name from acc_staff to edp_staff ) , can advise how to do it ? thanks
group:root:r-x
group:edp_staff:rwx
group:itaudit:r-x
|
This will get you going but need to run (then read):
#man setfacl
Remove the rule for group acc_staff:
#setfacl -x g:acc_staff yourfile/directory
Add rule for group edp_staff:
#setfacl -m g:edp_staff:rwx yourfile/directory
|
|
|
All times are GMT -5. The time now is 12:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|