You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usecase: Trying to rsync some files over from desktop to phone via rsync over a Bluetooth PAN SSH connexion.
When I try rsync --progress phone-bluetooth:/any-folder .
I get the following error: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
SSH into the device manually works though.
It seems that rsync cannot find the working directory while connecting, while pwd works fine in an interactive terminal over SSH. Tried to expand my SSH config alias into a verbose rsync command, does the same: rsync -rvz -e 'ssh -p 8022' --progress u0_a122@192.168.44.1:/some-folder ~/some/local/folder/ returns shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
The text was updated successfully, but these errors were encountered:
OverkillGuy
changed the title
error retrieving current directory via rsync / emacs tramp
error retrieving current directory via rsync
Nov 23, 2016
Ok, this was actually an issue with the bash shell! It has been fixed in version 4.4.5-1 of the bash package, update with:
apt update && apt upgrade
Also, note that the -z compress option is not supported, you need the newer (soon to be made by default by rsync) -zz option (as long as you're client is at least version 3.1.1, otherwise you must skip rsync compression until upgrading).
ghost
locked and limited conversation to collaborators
Oct 17, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Usecase: Trying to rsync some files over from desktop to phone via rsync over a Bluetooth PAN SSH connexion.
When I try
rsync --progress phone-bluetooth:/any-folder .
I get the following error:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
SSH into the device manually works though.
It seems that rsync cannot find the working directory while connecting, while
pwd
works fine in an interactive terminal over SSH. Tried to expand my SSH config alias into a verbose rsync command, does the same:rsync -rvz -e 'ssh -p 8022' --progress u0_a122@192.168.44.1:/some-folder ~/some/local/folder/
returnsshell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
The text was updated successfully, but these errors were encountered: