[Samba] Getting Owner of Files on Mounted Windows Share

Terlson, Adam (STP) adam.terlson at guidant.com
Tue Jul 17 13:27:32 GMT 2007


Hello everyone,
I have an obscure issue that I have been so far unable to find the
answer to.  I have successfully mounted a windows NTFS file share using
samba via the following command:

mount -t smbfs -o username=<USERNAME>,workgroup=<WORKGROUP>
//winserver/winpath /mnt/win

It mounts just fine but performing an ls -al command shows my user (or
"root") as the owner of all files, when this isn't the case.  Is it
possible to get the proper owner of files through a samba-mounted
windows file share?

Thanks in advance.

Adam





More information about the samba mailing list