Re: Problem copying directories using sftp
The problem "Received SSH_FXP_NAME packet with zero or multiple records" was manifested here and here what I did to solve it.
First I login to the machine with the ssh and use a regular user (root doesn't count).
I entered the directory where the error is occurring and listed it using ls -la. Check the current directory and up one level (. and ..). If it appear as ./.. Permission denied, do the following:
1. force the filesystem to umount(umount -f /filesystem).
2. Check the permissions of the mount point.
3. Mount it.
I think this error is due to a chown command while the directory was being used by any PID.
This problem manifested while using WinSCP. FileZilla wasn't presenting this behavior.
First I login to the machine with the ssh and use a regular user (root doesn't count).
I entered the directory where the error is occurring and listed it using ls -la. Check the current directory and up one level (. and ..). If it appear as ./.. Permission denied, do the following:
1. force the filesystem to umount(umount -f /filesystem).
2. Check the permissions of the mount point.
3. Mount it.
I think this error is due to a chown command while the directory was being used by any PID.
This problem manifested while using WinSCP. FileZilla wasn't presenting this behavior.