From: Miklos S. <mi...@sz...> - 2011-08-04 13:59:20
|
sergio <ma...@se...> writes: > Hello. > > I have the following problem with sshfs: > > % sshfs host:/ mnt > % ln -s ads qwe > % cp -a qwe mnt/tmp > cp: failed to preserve ownership for mnt/tmp/qwe: No such file or directory > > cp -a mnt/tmp/qwe mnt/tmp/zxc gives the same Yes, unfortunately the SFTP protocol doesn't support setting attributes of symlinks. There's a subtle bug there as well in sshfs: it shouldn't even try to change the attributes of a symlink since it will succeed and change the attributes of the symlink's target instead of the symlink itself, if the target exists. Thanks, Miklos |