[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to solve 'sanitize' permissions error



My backup environment is somewhat constrained because of my hosting provider. I am on a VPS with multiple accounts that I have created. The server setup requires that each account runs its own cron job (i.e. I can't ask root to run a cronjob over all the accounts). 

I'm trying to make it so that each account shares the same keyfile and cache folder (instead of replicating the keyfile for each account). Am I correct in assuming that each backup request (i.e. tarsnap -c) should use the same keyfile and cachedir? Can I use a separate cachedir for each account (since I'm not backing up shared data...each account has its own data)?

The error that I'm getting right now is this:

tarsnap: Cannot sanitize permissions on directory: /home/admin/.tarsnap/tarsnap-cache: Operation not permitted

Permissions for that directory look like this:

drwxrwx---  3 admin _backup 4096 Jul 30 22:10 ./
drwx--x--- 19 admin admin   4096 Jul 30 21:13 ../
drwxrwx---  2 admin _backup 4096 Jul 30 22:10 tarsnap-cache/
-rw-r-----  1 admin _backup 4929 Jul 30 21:14 tarsnap.key

The tarsnap.key seems to be shared fine~

I appreciate any help to move forward. Thanks!

-- 
Avery Chan | Co-Founder
ootbdev.com