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
Old 08-21-2006, 01:16 PM
HD Fanatic HD Fanatic is offline
Web Hosting Master
Join Date: Jan 2005
Posts: 2,099

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).

Reply With Quote

Sponsored Links
Old 08-21-2006, 02:17 PM
gbjbaanb gbjbaanb is offline
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?

Reply With Quote
Old 08-21-2006, 02:57 PM
HD Fanatic HD Fanatic is offline
Web Hosting Master
Join Date: Jan 2005
Posts: 2,099
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

Reply With Quote
Sponsored Links
Old 08-21-2006, 05:32 PM
bqinternet bqinternet is offline
Backup Guru
Join Date: Feb 2002
Location: New York, NY
Posts: 4,477
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
*** ***

Reply With Quote

Related posts from
Title Type Date Posted
Google Acquires Cloud Monitoring Startup Stackdriver to Improve Developer Experience Web Hosting News 2014-05-08 10:22:54
Dropbox Suffers Temporary Outage Impacting File Sharing and Synchronizing Web Hosting News 2014-03-14 12:11:46
UK Government Calls for Greater Oversight of Huawei Cybersecurity Evaluation Centre Web Hosting News 2013-12-18 16:53:29
Netflix Open Sources Janitor Monkey Tool that Cleans Up Unused AWS Cloud Resources Web Hosting News 2013-01-04 15:32:44
Yottaa Partners to Offer Ecommerce Acceleration for Drupal Online Merchants Web Hosting News 2012-11-06 08:58:19

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?
Web Hosting News:



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?