[Samba] mount.cifs - everything is owned by root (when mounting
2003 shares)
Michael Gasch
gasch at eva.mpg.de
Fri Mar 10 11:45:27 GMT 2006
try option uid=<youraccount>
should fix write errors
greez
Tomasz Chmielewski schrieb:
> I just tried to mount Windows 2003 share.
>
> I used the following command to mount it:
>
> mount.cifs //10.1.1.1/G$ /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?
>
>
More information about the samba
mailing list