user has no home: Could not chdir to home directory /var/services/homes/admin: No such file or directory
Enable the "user home service" in Control Panel - User - Advanced (at the very bottom)
Trying to sync files to the NAS like this:
$ rsync -av ./<src-dir>/ admin@<dest-ip>:/<dest-dir>/
results in a "Permission denied, please try again." error.
Running the command with --verbose
shows the ssh command used:
opening connection using: ssh -l admin <dest-ip> rsync --server -vvlogDtpre.isfC . /<dest-dir>/
If just running ssh -l admin <dest-ip> rsync
does not show the help text,
it's not a problem with the permissions at the destination dir.
Try the following:
-
remove setUID root on the destination:
$ sudo chmod u-s /bin/rsync
-
give rsync the full path to the rsync command at destination, eg:
$ rsync -av --rsync-path=/bin/rsync ./<dest-dir>/ admin@<dest-ip>:/<dest-dir>/
Create shell aliases in your user's home in a .profile
file, eg:
alias rsync="rsync -av --rsync-path=/bin/rsync --progress"
alias docker="sudo docker"