Re: New file permissions

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Alan Dayley
Dato:  
Til: plug-discuss
Emne: Re: New file permissions
Matt Alexander said:
> On Thu, 24 Jun 2004, Craig White wrote:
>
>> On Thu, 2004-06-24 at 20:17, Alan Dayley wrote:
>> >
>> > How does one set the permissions and ownership of the /shared
>> directory such that all files created there have the correct group
>> always set no matter which user is the owner?
>> ----
>> chmod g+s /shared
>
> Craig's solution is the most elegant, but another option would be to set
> the primary group for each user to the GID of "users" in /etc/passwd.


Interesting solution, too. I think I'll go for the chmod one.

Learning about file permissions! Such fun!

Alan



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss