[CentOS] allowing users to write to a web content area

Michael Gliwinski Michael.Gliwinski at henderson-group.com
Tue May 17 13:08:20 UTC 2011


On Tuesday 17 May 2011 13:34:10 David Mehler wrote:
> difficulties getting this to work. Using find and xargs I can get the
> permissions on the files and directories what i'm wanting, but adding
> new ones the umask takes over the group ownership is right but with
> the 077 it doesn't matter.

Using setgid on directories will cause group to be preserved on its children 
(e.g. chmod g+ws dir) but umask controls the permissions.  If you don't want 
to set it to 007 globally or for all users you could create a script they have 
to source before starting work, or get individual users to add it to their 
.bashrc.


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**********************************************************************************************
The information in this email is confidential and may be legally privileged.  It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed  in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************




More information about the CentOS mailing list