The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

backup error

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

  1. arjanvr

    arjanvr Well-Known Member

    Joined:
    Dec 13, 2013
    Messages:
    58
    Likes Received:
    1
    Trophy Points:
    8
    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:
    73
    Likes Received:
    3
    Trophy Points:
    6
    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,
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  4. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  6. Hostmavi

    Hostmavi Member

    Joined:
    Mar 10, 2009
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page