LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-03-2014, 07:02 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,298

Rep: Reputation: 52
ACL delegation?


Debian 7
ACL 2.2.51-8 installed

I am trying to learn the basics of ACL.

I thought ACL would have given complex options but that does not seem to be the case, from what I have read so far everything is done by root only.

What I need, for example user frederick076 is the owner of, and has rwx on, a number of files but also needs to modify access to those files for a variety of users on a per-file basis, how can this be done with ACL?

Thank you for your help.
 
Old 05-03-2014, 07:41 AM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,952
Blog Entries: 1

Rep: Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900Reputation: 1900
Code:
frederick076$ setfacl -m u:user:rw file

Last edited by NevemTeve; 05-03-2014 at 07:42 AM.
 
1 members found this post helpful.
Old 05-03-2014, 07:48 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Note: the filesystem the files are on does have to have ACLs enabled when it is mounted.
 
1 members found this post helpful.
Old 05-03-2014, 08:39 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,982
Blog Entries: 4

Rep: Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028Reputation: 4028
Also note that ACL implementations are not entirely standardized among available file systems, and in the case of some are not completely implemented in Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does the ACL of a file created under a directory differ from the default ACL sctebnt Linux - Security 5 12-02-2011 09:13 AM
chown delegation to user in some directory Bogdan Linux - Security 3 02-22-2007 05:20 PM
psuedo root task delegation help dryad Linux - Security 1 01-06-2007 06:35 AM
bind9 ISP delegation fciuffani Linux - Networking 5 05-23-2005 04:05 PM
bind classless in-... delegation stoffell Linux - Networking 1 05-02-2003 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration