LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-05-2004, 02:43 PM   #1
tapanga
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
User file permissions


I have a samba file server with 3 groups with users belonging to groups as such

groupA:user1,user2,user3
groupB:user1,user2,user3,user4,user5,user6
groupC:user1,user2,user3,user4,user5,user6,user7,user8,user9

I have shares set up
shareA : belongs to groupA : owner user1
shareB : belongs to groupB : owner user4
shareC : belongs to groupC : owner user7

i have some filed in shareB that can be read and executed by the whole group (groupb) but may only be modified by user4 and user5

please help
 
Old 07-05-2004, 02:46 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
How are the prmissions set up for the other users? Can they write as well as read?
 
Old 07-05-2004, 02:55 PM   #3
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
tapanga; not quite sure ? from what read u may give all or some all permissions to do some things or everything. word of advice depending on
the critical use every one whom has root privileges could cause havoc in system. reading ok writing 1/2,executing only trusted. just do it very carefully.
 
Old 07-05-2004, 03:01 PM   #4
tapanga
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
here are the file permissons of one of the files

owner : user4
group : groupB

owner : read - write - execute
group : read execute
other : none
 
Old 07-05-2004, 03:03 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Well there's your problem. Only the owner can modify the files.
 
Old 07-05-2004, 03:09 PM   #6
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
Xavierp; thanks well tapanga there u have it. guru spoke.
 
Old 07-05-2004, 03:09 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
No guru, I.
 
Old 07-05-2004, 03:12 PM   #8
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
XavierP; modesty will get u everywhere! neverthe less u have been around
and now seasoned linux operator.
 
Old 07-05-2004, 04:57 PM   #9
tapanga
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
thankx guys - but how do i allow two users to write and the rest of the group to read and execute
 
Old 07-05-2004, 07:13 PM   #10
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
tapanga; very carefully. do take time to read this expanded.http://tldp.org/
HOWTO/HOWTO-INDEX section4.2 subsections 4.2.1 configuration/Installation, 4.2.6 security.
 
Old 07-05-2004, 08:24 PM   #11
tapanga
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
this sure is going to be alot of reading - did u mean specific links within those subsections????
 
Old 07-06-2004, 03:22 AM   #12
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Tapanga - a better link is here: http://www.linuxquestions.org/questi...ticle&artid=20 - an article on LQ about permissions.
 
Old 07-06-2004, 11:19 AM   #13
tapanga
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks for the link - I have read the doc - but still don't see how i allow 2 users in group to read write and execute and the other users of the group to only read and execute.

I'm obviously missing something here
 
Old 07-06-2004, 11:41 AM   #14
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
xavierP & tapanga; thanks XP, yes T afraid so lots of reading only way to get info down pat.
 
Old 07-03-2008, 11:36 PM   #15
prasad_ark
LQ Newbie
 
Registered: Jul 2008
Posts: 18
Blog Entries: 1

Rep: Reputation: 0
Different permissions to different users under a same group

I want to restart this thread.Did any one know how to grant different permissions to different users for a same file?(i.e.user1 and user 2 has read,write and execute and user3 has only read and execute.All three are under the group myusers).I am also studying .Thanks in advance.
 
  


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
file permissions and other info ok when root, but not ok with other user benobi Linux - Newbie 3 10-17-2005 12:28 PM
user file permissions for windows partitions Alfanut Mandriva 6 04-27-2004 08:24 PM
file/user permissions? e1000 Linux - Newbie 3 11-14-2003 11:42 AM
root vs. user file permissions learning2fly Slackware 4 07-17-2003 12:06 PM
Creating file link -- user needs permissions? AnthonyM Linux - General 1 07-07-2003 12:18 PM

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

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