LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-19-2004, 08:08 PM   #1
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
assign a file/folder two groups?


Hey

Is it possible to assign a user's home directory or any folder or file TWO groups? I have two users set up on my computer, and wish for both to have full priviledges on that folder, but nobody else. I made both users part of each others' group, but somehow i still cannot access the folder. Any thoughts/ideas?

Thanks.
 
Old 12-19-2004, 09:43 PM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
to make files/folders members of 2 groups use setfcal/getfacl
Only works if your file system + kernel has acl enabled.

What you probably want is to make a new group, make both the user's members of that new group, and make the files/directory owned by that new group, then make sure the directory/file has group write/read/execute permissions.
 
Old 12-19-2004, 10:47 PM   #3
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Original Poster
Rep: Reputation: 34
Quote:
Originally posted by niknah
What you probably want is to make a new group, make both the user's members of that new group, and make the files/directory owned by that new group, then make sure the directory/file has group write/read/execute permissions.
Excellent! Thanks.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with dhcpd.config file to assign address's to clients on another subnet ccammack Linux - Networking 2 10-03-2005 09:42 AM
Assign CHMOD Rights To Mapped Windows Folder, GaneshParam Linux - Security 0 08-03-2005 05:09 AM
php: assign $var to 1 folder above. xushi Programming 2 08-03-2005 04:16 AM
howto folder/file sharing with specific groups kmhui Linux - Newbie 5 09-18-2004 07:05 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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