[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: Trouble with permissions
And Lo! The Great Prophet " Steve Tickle" uttered these words of wisdom...
>
> I should add that all the files and directories are owned by group 'root',
> I need them to be owned by group 'users' or at least, have permissions
> set to 757.
>
"force create mode" and "force group".
For the group, you could also make use of UNIXes ability for files to
inherit the group ownership of the parent directory. To do this, add the
group-sticky bit to the directory (so you'd need at least 2770 in the
chmod).
Chris...
--
\ Chris Johnson \
\ cej [at] nightwolf.org.uk \
\ http://cej.nightwolf.org.uk/ ~-----------------------------------+
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.