[Samba] mount.cifs - everything is owned by root (when mounting 2003 shares)

Tomasz Chmielewski mangoo at wpkg.org
Wed Mar 8 10:29:02 GMT 2006

I just tried to mount Windows 2003 share.

I used the following command to mount it:

mount.cifs //$ /mnt/2003/ -o user=admin,domain=MYDOMAIN

The mount is fine, I can read the files.

However, each and every file is owned by root, which is not true.

Moreover, each and every file and folder has the same permissions, which 
is also not true.

I can change the owners and permissions, but they are not reflected on 
Windows 2003, only Linux sees it.
If I umount the share and mount it again, all ownership/permission 
changes I made are lost.

getent passwd returns all Windows users correctly.

I'm using winbind from Samba 3.0.20.

Where should I look to solve the issue?

Tomasz Chmielewski

More information about the samba mailing list