Displaying 1 result from an estimated 1 matches for "subplain".
Did you mean:
subplaib
2013 Jan 18
1
sftp does not allow rename across file system
...em.
I am using SSH-2.0-OpenSSH_6
with standard SFTP setup as below
Subsystem sftp internal-sftp
Match group sftponly
ChrootDirectory /home/sftp/%u
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
there are two subdirs in a user home
subPlain (a plain unix dir)
subMounted (a dir that is actually mounting a different file system, or
using mount --bind <targetDir> subMounted )
when using sftp rename
rename subPlaib/F1 subPlaib/F2
works fine.
but
rename subPlaib/F1 subMounted/F2
failed
strace output shows the error as
read(...