arjanvr

Well-Known Member
Dec 13, 2013
113
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

SoftDux

Well-Known Member
May 27, 2006
1,024
5
168
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

Hostmavi

Member
Mar 10, 2009
16
3
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.