Welcome to the most active Linux Forum on the web.
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 07-17-2012, 03:57 AM   #1
LQ Newbie
Registered: Jun 2012
Posts: 9

Rep: Reputation: Disabled
Post file permission and ownership create group info,hr,sales
2.three user for three group(total 9 user )
3.Each user passwd is [passwd]
4.each group has certain directory the group member are acces, not allow another user will be member of all group and acces thair directory.
6.certain group of members modify thair file or directory.

plz help me.
Old 07-17-2012, 04:17 AM   #2
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217

You will need to get your hands to command line and use "chown",

If it's like this:
+ you have a "info", "sales" ... with users:
- ann
- bob
- chris

which need to create/ modify the files in their "shared" directory ?
How to add users to group?
You need to create that shared directory and allow them doing things they need.
mkdir /home/info_shared
chmod 770 /home/info_shared
chown -vR nobody:info /home/info_shared
this will create "info_shared" directory and allow users in group "info" to write.

How will you share the directory it's a more complicated way,
you can do it with Samba
or if the users will be using the "server" to login, they will be able to browse the directories on the "server" (in this case you are done).

Last edited by lithos; 07-17-2012 at 04:19 AM.
Old 07-17-2012, 05:18 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
this looks like homework. regardless, please give us some context (including what you have read on Linux and BASH.)

One excellent reference:


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
File permission, change ownership revenge80200 Linux - Newbie 2 03-02-2008 02:02 PM
Question on ownership and permission satimis Linux - General 16 01-25-2006 11:40 AM
Ownership/Permission and Delete Syntax MadDogE134 Linux - Newbie 8 06-09-2004 07:05 PM
scp - peserve file ownership and permission eyt Linux - Newbie 6 10-24-2003 04:41 PM
permission or ownership problems trusouthrnplaya Linux - General 6 03-03-2002 04:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 AM.

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
Open Source Consulting | Domain Registration