[Samba] Samba + ADS - Filepermissions home directories

gregorcy brian.gregorcy at utah.edu
Wed Jul 15 15:24:14 MDT 2009

Mona Meyer wrote:
> I configured winbind, samba and pam.d to authenticate via our Windows Active
> Directory Server.
> Everything works fine, I can log on to the system using my Windows Account
> credentials, I am also able to access the samba home share, but I have no
> write permissions there.
> What I don't get is: When I give read-write-access to everybody (chmod 777
> /home/%USER%), I am able to create and delete files. If I than create a new
> file (via the network share), the file is created by the owner of
> /home/%USER%. But If the system identifies myself as the owner, why was I
> not able to create the file before changig the file permissions?

When I first setup our file server I remember running into something like that, I fixed it by writing a preexex script 
to set the permissions correctly.  If you are interested I would be happy to send you our script.

Brian Gregorcy
IT Manager
University of Utah
Department of Chemical Engineering

More information about the samba mailing list