Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

backup error

Discussion in 'Data Protection' started by arjanvr, Jan 18, 2014.

  1. arjanvr

    arjanvr Well-Known Member

    Joined:
    Dec 13, 2013
    Messages:
    113
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Since a few day I have been receiving a error with a user when cpanel creates a backup. Should I be worried about this or what can I do to fix this?

    One or more files in the home directory were not readable and were not copied.
    Please review the home directory upon completion of transfer

    Error(s) encountered in tar during archiving:
    /home/ikuzsnl/public_ftp: Unable to open directory: Permission denied at
    /usr/local/cpanel/scripts/pkgacct line 1799.
     
  2. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    126
    Likes Received:
    18
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Hello,

    As per the error, it seems that there might be wrong permission/ownership for the dir: public_ftp
    Please check and correct it then run backup again,

    Thanks,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please review the permission/ownership values for the following directory:

    /home/$username/public_ftp

    Do you notice permissions other than 0750 and ownership other than the account username?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    999
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Sorry to hi-jack this thread but I just ran into the same problem on one of our server.
    the /home/$username/public_ftp folder permission was "d---------". Anonymous FTP is disabled and we only use FTP over TLS. So the question is, why would the folder permissions have changed? I know for a fact the users wouldn't have changed it since most of our clients are "managed" clients who don't use their cPanel.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Was the account ever suspended and unsuspended? Do you experience the same issue with the permissions on that directory if you suspend and unsuspend it again?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Hostmavi

    Hostmavi Member

    Joined:
    Mar 10, 2009
    Messages:
    15
    Likes Received:
    3
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    HI
    our cpanel version 11.44.0(build 22)
    we are facing same issue after we move our backup from legacy Backup to new cpanel backup

    we are using in new cpanel backup (Backup Suspended Accounts= enable).

    All suspended user (accounts) we are getting same error after backup finished

    * /home/xxx/public_ftp: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1765.
    * /home/xxx1/public_ftp: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1765.
    * /home/xxx2/public_ftp: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1765.
    * /home/xxx3/public_ftp: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1765.
    * /home/xxx4/public_ftp: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1765.
    * /home/xxx5/public_ftp: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1765.


    by suspending an account the public_ftp getting chmod 000
    by unsuspending account the public_ftp folder getting chmod 750.

    how we can fix this issue?

    Regards
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The change in permissions on those directories is standard behavior during suspension. You could add the entire "public_ftp" directory to the /usr/local/cpanel/etc/cpbackup-exclude.conf file if you want to exclude attempts to back it up.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice