You are here
Chad Huntley - Tue, 2012/09/25 - 23:56
I have a standard turnkey core appliance running and I'm trying to run rsync on a folder under /home. Everytime I run it I get the following errors:
rsync: mkdir "/home/hello/folder" No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(595) [Receiver=3.0.7]
receiving incremental file list
The script is:
rsync --verbose --progress --stats --compress --rsh=ssh --recursive --times --perms --links --delete --exclude 'cache' test@96.55.4.80:/home/test/public_html /home/hello/folder
I'm guessing it has something to do with the folder permissions? The /home/hello/folder does not exist, and I just want rsync to create that.
Forum:
A few things to check
does the userid you're running as have permission to create /home/hello/folder?
Also, if /home/hello doesn't already exist then rsync won't be able to create the folder within it.
I'm running it as root, so it
You are correct, I had to create a couple directories further down. Thank you for the help.
Add new comment