[Samba] can samba keep uid/gid/permission on a per-file-base?

Alex Harrington alex at longhill.org.uk
Tue Jun 9 08:25:33 GMT 2009


> Is there a trick to copy files via smbfs and keep uid/gid/permissions?
> 
> Usually uid/gid/permission of a transfered file depends on 
> the uid used when mounting the remote share.  But maybe there 
> is a trick/patch whatever ... 

I've used xcopy on Windows before to transfer files between shares
maintaining permissions, owner, times etc. You need permission on the
destination to be able to change those values though. I've never done
that with Samba (always when doing Win32 server migrations) but I don't
see any reason why it might not work...

Cheers

Alex

-- 
Alex Harrington - Network Development Manager
Longhill High School
t: 01273 391672 e: alex at longhill.org.uk 


More information about the samba mailing list