Force User

Samba Admin samba at
Fri Oct 19 10:22:06 GMT 2001


Since all your "valid users" are also "admin users" and admin users
processes run as root on the server you end up with files owned by root.

Why it doesn't consult "force user", I'm not user. Maybe 'cause you're
already root?


 -----Original Message-----
From: samba-admin at [mailto:samba-admin at]On
Behalf Of Ed Zoeller
Sent: Friday, October 19, 2001 10:33 AM
To: samba at
Subject: Force User

Here is what I am trying to accomplish:
I want to create a share that will force users to a ID and group, allow
certain users write privileges to certain directories only and others read
only. I have set this up and every time I create a file the owner is set to
root and the group is correct. Any help would be great, the following is
what I have in the smb.conf file:

        path = /lanman/Users/content_migration
        valid users = eoz egh bfs txh
        admin users = eoz egh bfs txh
        read list = eoz egh bfs txh
        write list = eoz egh bfs txh
        force user = migrate
        force group = segrp
        create mask = 0775
        directory mask = 0775
        browseable = No

Ed Zoeller
640 N. LaSalle Street
Suite 330
Chicago, IL 60610
Email: ezoeller at

More information about the samba mailing list