Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Derek on September 08, 2001, 03:18:27 AM

Title: File Permissions
Post by: Derek on September 08, 2001, 03:18:27 AM
Hi,

In e-smith ibays, when someone who is a member of the group that has file sharing access to the ibay copies a file into the share, the file gets the owner/group permissions of the ibay. However, when creating a custom share, (or a samba share on a non-e-smith box), when a user copies a file into the share the file retains the owner/group permissions of the individual user. This renders the file inaccessible to the group. How can this be changed so that files always get the group permissions when they are copied into a share?

What I have tried so far - snipped from a Mandrake 8.0 smb.conf

[accounting]
path = /data/accounting
valid users = @accountants
comment = Accounting Dir
public = no
read only = no
writable = yes
inherit permissions = yes
create mode = 770
force create mode = 770
directory mode = 770
force directory mode = 770
group = @accountants
force group = @accountants

Regards,

Derek