[Samba] Getting Owner of Files on Mounted Windows Share

C.Scheeder samba at scheeder.de
Wed Jul 18 12:19:59 GMT 2007

What you are trying *is NOT POSSIBLE with smbf*
smbfs does not support to get the remote-users from the windows-machine.
it maps each and every file to be owned by the user doing the mount,
if not otherwise instructed.

see 'man smbmount' for more infos on this.
have a nice day.

Mark Adams schrieb:
> 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