cpbackup changes permissions to user.user just on homedir


Well-Known Member
Aug 7, 2002
A weird thing has just started with the incremental backups. When cpbackup runs, all the files in /backup/cpbackup/daily/ are owned by root, but the group is the user so it looks like root.username rather than root.root.

If you navigate to /backup/cpbackup/daily/username/, permissions appear as root.root except for the homedir and all the files in that directory. That directory (homedir), and all the files in that directory, appear as username.username. This of course causes the user to show a large increase in disk usage until we change user.group to root.root. in /backup/cpbackup/daily/.

userquota is not enabled on /backup as mtab and fstab below will attest. I've upgraded cPanel to current, but that didn't fix it. I've even deleted the backups and let them run from scratch and the same thing happens. The only thing different is we are now running kernel 2.6.9. Anyone have any thoughts on this? I'm stumped.

Below is mtab:
/dev/hda7 / ext3 rw,usrquota 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hda1 /boot ext2 rw 0 0
/dev/hdb1 /backup ext3 rw 0 0
/dev/hda8 /home ext3 rw,usrquota 0 0
none /dev/shm tmpfs rw 0 0
/dev/hda6 /tmp ext3 rw,noexec,nosuid 0 0
/dev/hda3 /usr ext3 rw,usrquota 0 0
/dev/hda5 /var ext3 rw,usrquota 0 0
/dev/varTmp /var/tmp ext3 rw,noexec,nosuid,loop=/dev/loop0 0 0

Below is fstab:
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext2 defaults 1 2
LABEL=/backup /backup ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults,usrquota 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults,noexec,nosuid 1 2
LABEL=/usr /usr ext3 defaults,usrquota 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/varTmp /var/tmp ext3 loop,rw,nosuid,noexec 0 0


May 23, 2003
I don't have a reported fix but I will confirm the same problem. We've been getting lots of reports from users since upgrading yesterday wondering where all their disk space went. The homedirs in the incremental backups are the culprit.


Are you saying that the users are having files in /backup counting towards their quota?


Well-Known Member
Oct 10, 2001

Yes, that is exactly what they are saying. If you the cpbackup is chowning files in an INCREMENTAL backup to user.user, they will be counted against the clients quota.