ownership problems on samba file server...
Giulio Orsero
giulioo at pobox.com
Sat Jul 8 16:56:24 GMT 2000
On Sat, 8 Jul 2000 01:24:27 +1000, you wrote:
Please, word wrap you emails to 72 chars.
> without changing ownership, but, when they create a new file,
>it saves with that user as owner/group. Is there a way to modify
> this at all? Right now I find myself having to chown the affected
chown root.staff /path/share_topdir
chmod 2770 /path/share_topdir
with the setgid bit set the new files will belong to the staff group.
then is smb.conf
create mode = 0660
force create mode = 0660
directory mode = 2770
force directory mode = 2770
for that share
If the setgid bit trick does not work (it should) then use
force group = staff
in smb.conf
--
giulioo at pobox.com
More information about the samba
mailing list