Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread James Bensley
Thanks to all for your replies; the ability to set the group ID (SGID) was the solution I needed, thanks very much guys :D -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? __

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread Robert Nichols
On 01/26/2011 04:31 AM, James Bensley wrote: > On 26 January 2011 10:17, Rafa Griman wrote: >> Directories should have +x permissions. Do a: >> >> chmod0750/directory >> >> And see what happens. >> > > Hi Rafa, like a fool I sent that email and then worked this out > shortly after :) > > S

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread Les Bell
Edo wrote: >> If user1 writes a file in folder1 will user2 be made the default group owner, is there a way of enforcing this and with the required privileges (r for files, rx for directories?). Yes. If user1 belongs to the user2 group, that’s how it should [already] work

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread Edo
Hi, On Jan 26, 2011, at 7:31 PM, James Bensley wrote: > On 26 January 2011 10:17, Rafa Griman wrote: >> Directories should have +x permissions. Do a: >> >> chmod0750/directory >> >> And see what happens. >> > > Hi Rafa, like a fool I sent that email and then worked this out > shortl

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread Rafa Griman
Hi :) On Wed, Jan 26, 2011 at 11:31 AM, James Bensley wrote: > On 26 January 2011 10:17, Rafa Griman wrote: >> Directories should have +x permissions. Do a: >> >> chmod    0750    /directory >> >> And see what happens. >> > > Hi Rafa, like a fool I sent that email and then worked this out > shor

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread James Bensley
On 26 January 2011 10:17, Rafa Griman wrote: > Directories should have +x permissions. Do a: > > chmod    0750    /directory > > And see what happens. > Hi Rafa, like a fool I sent that email and then worked this out shortly after :) Still, if I hadn't your response was quick so I wouldn't have

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread Rafa Griman
Hi :) On Wed, Jan 26, 2011 at 11:12 AM, James Bensley wrote: > Hi List :) > > So, I have a folder1, its owner is user1 who has r+w on the folder. > User2 is the group owner who only has read access (when I say user2, I > mean the group called user2, because when you make a new user the OS > can m

[CentOS] Basic Permissions Questions

2011-01-26 Thread James Bensley
Hi List :) So, I have a folder1, its owner is user1 who has r+w on the folder. User2 is the group owner who only has read access (when I say user2, I mean the group called user2, because when you make a new user the OS can make them their own group). You can see these permissions below: [user2@ho