Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-14-2011, 05:24 PM   #1
LQ Newbie
Registered: Sep 2011
Posts: 22

Rep: Reputation: 1
How do I set multiple group/user ownership of files and folders?

Hey there folks,

I got a lot of help the first time around in choosing a distro, and I'm looking to the community again with a pretty simple question. Also, it's probably pertinent that I mmention that I'm currently using Ubuntu Server 10.04 LTS.

I realize, and understand how to change permissions and take ownership of files by both single users and groups, but how do you modify access to files for several users or groups whilst restricting access by others?

When changing file security policies in Windows you are able to add multiple users or groups and resrict access or remove it completely by "Everyone." From what I've read this is apparently achieve by using ACLs and the Security settings dialog just adds a UI to make things easier.

Are there Access Control Lists in Ubuntu, and how do I change them for particular files and folders?
Old 10-14-2011, 09:48 PM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
In Linux ACL's are handled by two commands setfacl and getfacl.
Old 10-15-2011, 10:00 PM   #3
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
You must mount your file system with the option "acl" added to the list of options in fstab.
The package acl must be installed. Also there is a graphical application called eiciel that can be used to manage the ACL of files.
Old 10-21-2011, 02:49 AM   #4
LQ Newbie
Registered: Sep 2011
Posts: 22

Original Poster
Rep: Reputation: 1
Is this the only way to do this, or are there other methods?

At the moment I'm setting up my Samba shares, but I would rather control everything using system-level permissions. If I have multiple groups and they all need different levels of access to a certain directory, file, or printer, is there any way to do this at the system level?

I realize that you can choose specific groups and users who have access to the resource using Samba permissions, but if I want to keep security as tight as possible, should I not be trying to do this at the system level as well?


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
Ownership on new files in group samba share set badly pentalive Linux - Server 1 08-26-2011 04:03 AM
Set group ownership on files as they are created gatsby Linux - Newbie 1 02-25-2008 04:31 PM
Group Permissions and Ownership of files and folders bugeyemonster Linux - General 1 04-19-2006 02:52 AM
changing ownership and group of multiple files.. utanja Debian 3 02-21-2005 07:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 PM.

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