[Samba] can samba keep uid/gid/permission on a per-file-base?
peter pilsl
pilsl at goldfisch.at
Tue Jun 9 08:06:18 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 ...
background:
I'd like to use a linux-based NAS to backup loads of files *including their permissions and uid/gid*. The NAS supports NFS (which can do what I want) but the NFS-connections breaks all the time.
So smbfs/cifs is my available option.
* I need to backup the files on a per-file-base (and not in a tar-container) to make the backup-files easily and fast accessible from any thinkable client.
* rsync via ssh would be my last option, but ssh has lot of overhead and invokes a key-managment-strategy for automatic backup
thnx,
peter
More information about the samba
mailing list