Force User

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


Ed,

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?

Doug


 -----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Ed Zoeller
Sent: Friday, October 19, 2001 10:33 AM
To: samba at lists.samba.org
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:

[migrate]
        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
ShopTalk
640 N. LaSalle Street
Suite 330
Chicago, IL 60610
312.602.6500
Email: ezoeller at shoptalk.com
www.shoptalk.com





More information about the samba mailing list