LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2014, 04:31 PM   #1
chrbar
LQ Newbie
 
Registered: Dec 2013
Posts: 5

Rep: Reputation: Disabled
Question ACL doesn't work with groups ?


Hello,

I would like to use ACL to attribute writting rights on a folder, and I meet some difficulties: it works correctly with ACL on a user account but not with ACL on a group?

I run OpenMediaVault (0.5.34), a NAS solution based on Debian (6.0.8).
I'm a Linux newbie but I want learn it!

I've created "movies" folder with "root" account (via ssh), and by default, "users" group has reading rights on it only.
I've created the new group "movies-admin", whose the user account "christopher" is member.

I've added writing rights to "movies-admin" on "movies" folder with ACL:

Code:
root@NAS:/media/UUID/multimedia# setfacl -m g:movies-admin:rwx movies
root@NAS:/media/UUID/multimedia# getfacl movies
# file: movies
# owner: root
# group: users
# flags: -s-
user::rwx
group::r-x
group:movies-admin:rwx
mask::rwx
other::r-x
But I can't write in this folder with "christopher" account!

If I add writing rights directly to "christopher" on "movies" with ACL, I'm able to write in this folder with this account.

Code:
root@NAS:/media/UUID/multimedia# setfacl -m u:christopher:rwx movies
root@NAS:/media/UUID/multimedia# getfacl movies
# file: movies
# owner: root
# group: users
# flags: -s-
user::rwx
user:christopher:rwx
group::r-x
group:movies-admin:rwx
mask::rwx
other::r-x
Thus, why it doesn't work when I apply ACL with the group, and it work when I apply ACL with the account?

Thanks for your help :)
Chris

Last edited by chrbar; 02-10-2014 at 07:41 PM.
 
Old 02-11-2014, 07:23 AM   #2
chrbar
LQ Newbie
 
Registered: Dec 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
It's ok now!
It could need to wait a bit before group creation or change are ready or applied...
I don't know exactly?
 
  


Reply



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
problem with samba and ACL ,ACL does not work as I want golden_boy615 Linux - Server 1 12-18-2011 09:18 AM
Why does the ACL of a file created under a directory differ from the default ACL sctebnt Linux - Security 5 12-02-2011 08:13 AM
NFS4/ACL issues with network groups slank Linux - Server 1 03-11-2009 03:20 PM
iptables acl versus cisco acl id_viorel Linux - Security 1 04-09-2008 05:00 AM
Samba PDC + ACL - howto map users and groups on windows clients myers Linux - Networking 0 09-04-2006 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 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