jkirker
Verified User
- Joined
- Nov 22, 2012
- Messages
- 119
Hi All,
I've done this:
http://help.directadmin.com/item.php?id=90
When my users do a restore from a backup they are receiving the following error:
Cannot Execute Your Request
Details
Error extracting /home/userdirectory/backups/backup/home.tar.gz : /bin/tar: home/userdirectory: Cannot open: File exists /bin/tar: home: Cannot utime: Operation not permitted /bin/tar: home: Cannot change mode to rwxr-xr-x: Operation not permitted /bin/tar: Exiting with failure status due to previous errors
The issue is that the jail script creates the base file structure owned by root.root however the chown/chmod done on restore is global and is trying to effect the jail created dirs.
Is there any way to update the script that runs during the restore to exclude /bin,
/etc, /home, /lib, /lib64, /sbin, /tmp, /usr, /var?
Regards,
John
I've done this:
http://help.directadmin.com/item.php?id=90
When my users do a restore from a backup they are receiving the following error:
Cannot Execute Your Request
Details
Error extracting /home/userdirectory/backups/backup/home.tar.gz : /bin/tar: home/userdirectory: Cannot open: File exists /bin/tar: home: Cannot utime: Operation not permitted /bin/tar: home: Cannot change mode to rwxr-xr-x: Operation not permitted /bin/tar: Exiting with failure status due to previous errors
The issue is that the jail script creates the base file structure owned by root.root however the chown/chmod done on restore is global and is trying to effect the jail created dirs.
Is there any way to update the script that runs during the restore to exclude /bin,
/etc, /home, /lib, /lib64, /sbin, /tmp, /usr, /var?
Regards,
John