file owner/group changing

Tim Potter tpot at linuxcare.com.au
Mon Oct 16 23:04:47 GMT 2000


Mike Brodbelt writes:

> If you grant the second person access to the file ny adding them to a
> group, as you mantion above, then you can set the group ownership on the
> shared directory to that group. Then, set the SGID bit on the directory,
> and all files created within the directory will inherit the directory
> group ownership. This should enable you to work around the problem.

You can also use the 'force user' or 'force group' parameters to
ensure all files and directories in a share have the same
ownership.


Regards,

Tim.





More information about the samba mailing list