Results 1 to 2 of 2

Thread: shift rsync owners

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    73

    Default shift rsync owners

    As a root I ran an initial rsync for one of my user and now when I put that rsync in his cpanel's crontab. It gibes permission denied errors for some of the files. How can I fix this?

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,052

    Default

    If you have placed the command under the users cronjob, it will give you permission denied error if the files you are copying are owned by another user. The workaround is, execute the rsync command as root i.e. place the rsync command under the root's cronjob file

    crontab -e

Similar Threads

  1. Replies: 2
    Last Post: 04-28-2011, 07:36 AM
  2. gftp error following shift to pure-ftpd
    By kaosent in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-30-2005, 04:14 AM
  3. rsync://rsync.cpanel.net broken?
    By Sinewy in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 10-26-2004, 06:08 AM
  4. Replies: 0
    Last Post: 01-25-2004, 04:02 PM
  5. rsync gurus -- how to stop rsync daemon?
    By trakwebster in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-12-2003, 11:05 AM