Skip to main content

backup error

Comments

6 comments

  • HostingH
    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,
    0
  • cPanelMichael
    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.
    0
  • SoftDux
    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.
    0
  • cPanelMichael
    [quote="SoftDux, post: 1566762">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.
    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.
    0
  • Hostmavi
    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
    0
  • cPanelMichael
    [quote="Hostmavi, post: 1684651">by suspending an account the public_ftp getting chmod 000 by unsuspending account the public_ftp folder getting chmod 750.
    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.
    0

Please sign in to leave a comment.