On 08/03/10 19:49, Maz Walker wrote:
I meant to send this to the list but sent it to mark by mistake, sorry!Yes, the way we do it at work is like this
[sharename] force group sambafiles force user sambafiles path = /where/it/is create mask = 0660 directory mask = 0770 writable = yes write list = @users
So the differences from my existing config are: - I have create/directory mask at 0664/0775, so I'm setting read only status for non-users - I have valid users set to @users, you force the user to sambafiles and then limit writes to @users
I'm not in the office at the moment but I'll try this when I am. However, one thing it would be nice to keep is for the person who created a file to be shown against it as it's user, which I have at the moment. Sure, I have that but everything else is broken :-) But if there's a way to retain that I'd like to.