hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : rsync errors

Forum Jump

rsync errors

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Web Hosting Master
Join Date: Jan 2005
Posts: 2,166

rsync errors

rsync: recv_generator: failed to stat "/usr/home/dave/server1/etc/apf/doc/COPYING.GPL": Permission denied (13)
rsync: recv_generator: mkdir "/usr/home/dave/server1/etc/apf/extras/dshield" failed: Permission denied (13)

I am getting around 20 of these errors with different files inside /apf on the daily rsync emails. I'm not sure if I should change the permissions for the subdirectories in /etc/apf it's set to 0640, probably for a good reason since these are the only folders with permission denied message. Also, does cpbackup backup the /var and /usr partitions as well? Rsync is taking data from /backup (cpanel backups to this partition on my 2nd HDD).

Sponsored Links
Retired Moderator
Join Date: Oct 2004
Location: Southwest UK
Posts: 1,159
Perhaps you should run rsync as a user with more permissions? If you don't like running it as root, try adding the user it does run as to all the groups you have.

I cannot answer your cpanel backup question, have you tried cpanel support?

Web Hosting Master
Join Date: Jan 2005
Posts: 2,166
do you mean run rsync on the client side as root or on the receiving end (server) ? I can't be running as root on the receiving end since it's an account on

Sponsored Links
Backup Guru
Join Date: Feb 2002
Location: New York, NY
Posts: 4,543
Hello ANewDay,

This is a common error that many people get when using Rsync to back up files to a remote non-root account. The 640 permissions on the /etc/apf directory prevent file listing by any user other than root on the remote system, and therefore you get 'permission denied' when trying to update its contents. Most people prefer to ignore the error for /etc/apf, but if you see it for a folder that actually contains important files that need to be backed up, you may want to take action by changing the permissions to include the owner execute bit on the folder.

Scott Burns, President
BQ Internet Corporation
Remote Rsync and FTP backup solutions
*** ***


Related posts from
Title Type Date Posted

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?