You need one cache directory per tarsnap key file. Usually this means one cacheOn 07/15/13 07:58, Chris Brooks wrote:
> I've created a cache directory in the default /usr/local/tarsnap-cache location,
> but I'm getting the "can't sanitize permissions" error message.
>
> Looking at the tarsnap source, it looks like tarsnap is trying to set the
> permissions such that only the owner can use this directory. (Right?) Since the
> user I'm logged in as isn't the owner of this directory, that isn't working for me.
>
> What is the expectation for how the cache directory will be setup? Should I
> create a cache directory in my home directory and use that instead? But what
> happens if I want to use tarsnap under a different username later? (For instance
> from a cron job.) Does each user need it's own cache directory?
directory per system, since most people only have one tarsnap key file which is
used for all the backups from a particular box.
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid