[CentOS] Network FS w/o user setup

Les Mikesell lesmikesell at gmail.com
Tue Jun 24 02:00:33 UTC 2008

Ted Miller wrote:
>>> That is something I need to fix, because I do have some issues with 
>>> group accessed files, where certain operations require me to log in 
>>> as root and run a script that cleans up the file ownership, otherwise 
>>> some users can no longer access the files.  Any pointers on where to 
>>> find documentation on this?
>> Newly created files default to having the group ownership of the 
>> primary group of the user creating it, and the RH scheme is to give 
>> every user his own group.  You can do something like this in the samba 
>> share configuration:
>> valid users = @groupname
>> force group = groupname
>> force create mode = 0775
>> force directory mode = 0775
> How about if I just change the primary user group to being the user 
> group that I want their files' group ownership set to?  Would that "just 
> take care of it" on the group side?  Then I could just set the "force 
> create mode" and "force directory mode".

Yes, that works if you only have one group that needs shared access or 
at least no one in overlapping groups.  You do lose the ability to share 
your own stuff to members you add to your own group.

>> This is one of the reasons I usually install k12ltsp instead of the 
>> stock centos distribution (you don't lose anything, it just adds some 
>> extras and makes the updates yummable).  You probably can grab the RPM 
>> directly from the webmin site.
> Can I just add a k12ltsp repo and use their webmin?

That should work.

   Les Mikesell
    lesmikesell at gmail.com

More information about the CentOS mailing list