Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba and Permissions

Status
Not open for further replies.

mairving

MIS
Jul 7, 2002
24
US
Okay, here is the scenario. I have a Samba Server 3.0.4 running FreeBSD in a W2K AD. It is also running winbind so that I won't have to add local users/groups the the BSD box. It works fine. It's primary purpose is to be a Fileserver. There is a directory called Users that holds all of the User shares. The permissions are set as follows on the user shares:
Owner = Domain\Username
Group = Domain\Admin (which is a group composed of just a few people that have access to all user shares).
It is chmod'd to 770.

The problem arises when I or one of the other members of the Admin group move a file from one users folder to another or create a file in another users directory. The problem is that whenever that is done, the file that is created is owned not by the user of that share but by the admin member of that share. So since it is owned by the admin member and the user is not a member of the admin group, the user can not access that file.

The smb.conf section looks like this:
[Users]
path = /home/users
valid users = "DomainName\Domain Users"
Directory Mode = 0770
inherit permissions = yes

I have tried using the force users but that didn't work. Any ideas on this one?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top