[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Weird permissions problems



On Wednesday 29 May 2002 14:39, you exclaimed:
> And Lo! The Great Prophet " Craig Andrews" uttered these words of wisdom...
>
> > So, question is, what happened to my group write permission??
>
> Checked your umask ?
>
> Chris...

Dang it. Thanks to the RedHat 'standard' of having each user with a group 
with the same name as the user (why??) on one machine I have 
candrews:candrews and on the other I have candrews:devel

This means that thanks to an if in /etc/profile/ on the machine with 
candrews:candrews I have umask 002, and on the other I have umask 022.

I have a directory which is owned by root:devel. I need to allow anyone in 
devel to be able to read and write to it, and for all new files to be created 
with permissions set to 664 (directories 775, of course).

This needs to be regardless of umask, seeing as some folk have 022 and some 
have 002.

Any ideas?

Cheers,

Craig
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.