#1  
Old 7th May 2008, 10:14
leon247 leon247 is offline
Junior Member
 
Join Date: May 2008
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default group permissions

Hello,
i'm new on this site and i'm new on Linux, so forgive my
questions...
Becoming from others OS don't understand the group permission on files and folder. Only one group can have permissions? If I have two different groups, how can decide the permission on both groups over the same file?
I can decide permissions for owner, owner group and others.
If I have a second group that is different from other categories, how can I do it?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 8th May 2008, 21:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by leon247
If I have a second group that is different from other categories, how can I do it?

Thanks!
You'd have to add all users from the second group to the first group.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th May 2008, 22:16
leon247 leon247 is offline
Junior Member
 
Join Date: May 2008
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
You'd have to add all users from the second group to the first group.
Thanks, you confirm that on Linux we can't have a situation like this:
owner (rwx)
first group (r-x)
second group (rwx)
others (---)

on the same file.
In this case I can only change permissions to others in r-x and delete
the first group. Is OK? The constraint is that all people can read that
file.

Thanks,
leon247
Reply With Quote
  #4  
Old 9th May 2008, 15:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by leon247
Thanks, you confirm that on Linux we can't have a situation like this:
owner (rwx)
first group (r-x)
second group (rwx)
others (---)
That's right, this isn't possible.

Quote:
Originally Posted by leon247
In this case I can only change permissions to others in r-x and delete
the first group. Is OK? The constraint is that all people can read that
file.
You can make it world-readable, but you don't need to delete the first group.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
leon247 (9th May 2008)
  #5  
Old 9th May 2008, 18:28
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default multiple group permissions

You can't have more than 1 group in an ACL entry? I didn't know that. Explains a lot of problems.

Can 1 group be added to another group without listing individual names?

Does the same rule apply to being able to have mulitple users listed in an ACL ?
Reply With Quote
  #6  
Old 10th May 2008, 17:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

I think you're mixing up things. This thread is about file/directory ownerships.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 10th May 2008, 17:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

I think you're mixing up things. This thread is about file/directory ownerships.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monit & Munin SamTzu HOWTO-Related Questions 2 23rd September 2014 22:20
Ebox filesharing - permission in group folder tennents HOWTO-Related Questions 2 31st October 2007 18:18
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 15:55
SuPHP and ISPconfig planet_fox Installation/Configuration 33 15th December 2006 20:09
chgrp: invalid group `admispconfig' wwparrish Installation/Configuration 1 8th February 2006 06:23


All times are GMT +2. The time now is 14:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.