Jianping Zhu wrote:
> I use /bin/mount -t smbfs -0 username=jianping1233 //win/data  /mnt/data
> to map windows share
>  and use rsync -rvlopgtu /path/to/linux/data /mnt/data
> 
> i am trying keep group and owner info. but after i fish copy i found
> all group and owner are changed to root, but i want them to stay
> original, how can i fix the problem.

I believe "smbfs" always sets file ownership to root.  You may want to
investigate "cifsvfs" as an alternative:

http://www.samba.org/samba/Linux_CIFS_client.html




=====
Sincerely,
Matt Seitz


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to