[NTLUG:Discuss] Samba file security - user/group ownership...
Bug Hunter
bughuntr at one.ctelcom.net
Thu Dec 6 16:34:39 CST 2001
I think I remember a SAMBA setting that allows you to force the
permissions with files saved in a particular share...
On Thu, 6 Dec 2001, Richard Geoffrion wrote:
> Scenario. An administrator sets up a Samba share named Marketing that points to /home/marketing. The group marketing is given writes to the share and users are added to the group marketing. The force group option has been set to the group marketing. (in this case it was set to +marketing). The users use the share fine and everything works ok.
>
> Next the administrator sets up a share called 'system' and points it to the root directory { / }. When the administrator accesses a file.. say /home/marketing/%the_file ... by using the administrative share called 'system' it of course changes the ownership of the file and thus the permissions. In this case, marketing users are no longer able to write to the file.
>
> So, in what direction does the answer lie? Sticky bits...whatever they are...What about inherited rights?
>
> Do file permissions HAVE to be used? Can't one just use permissions based on directories...( group marketing has full rights to this folder no matter WHO the creator or owner) If the directory was CHMODed to say 77x would that do it? (oh..nevermind...the directory is already at 775)
>
> I would hate to think that the solution will be to migrate from Netware to NT instead of to Linux.
>
> BTW, the testing is being done on a RedHat 6.1 box with Samba 2.0.7. Would a different version of RedHat work any better? Or an updated Samba version?
>
> I know...how about an NTLUG presentation on Samba as it pertains to file sharing, rights and administration in the workplace. :)
>
> -Richard -- still without a static IP address but with a semi-permanently assigned DHCPed address...go figure!
>
More information about the Discuss
mailing list