[Samba] RE: Getting owner of files on Mounted Windows Share (3rd attempt)

Randall Svancara rsvancara at wsu.edu
Thu Jul 19 16:04:06 GMT 2007


See the man page form smbmount.  There are options to set ownership of
files when mounting windows shares. 

 man smbmount


On Thu, 2007-07-19 at 10:19 -0500, Terlson, Adam (STP) wrote:
> Are people just ignoring my question because I messed something up, not
> getting it, or does no one know anything?
> -----Original Message-----
> From: samba-bounces+adam.terlson=guidant.com at lists.samba.org
> [mailto:samba-bounces+adam.terlson=guidant.com at lists.samba.org] On
> Behalf Of Terlson, Adam (STP)
> Sent: Tuesday, July 17, 2007 8:28 AM
> To: samba at lists.samba.org
> Subject: [Samba] Getting Owner of Files on Mounted Windows Share
> 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 Windows owner of files through a
> samba-mounted windows file share?
> Thanks in advance.
> Adam

More information about the samba mailing list