Re: Network FS w/o user setup

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



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@xxxxxxxxx



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux