[Samba] Getting Owner of Files on Mounted Windows Share

Mark Adams mark at campbell-lange.net
Wed Jul 18 10:35:29 GMT 2007

On Tue, Jul 17, 2007 at 08:27:32AM -0500, Terlson, Adam (STP) wrote:
> 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?

Are you mounting the fs with the root user ? does it change if you mount
with another user?

> Thanks in advance.
> Adam

> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list