[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How is the cache directory supposed to be setup?
- To: Chris Brooks <csbrooks6@gmail.com>
- Subject: Re: How is the cache directory supposed to be setup?
- From: Colin Percival <cperciva@tarsnap.com>
- Date: Mon, 15 Jul 2013 19:19:43 -0700
- Cc: tarsnap-users@tarsnap.com
- In-reply-to: <CAKHaY0Q3-hd-vQNe-ZMgEjYb=HRmyyVfFYSaeoQ0pgNm81QH9w@mail.gmail.com>
- References: <CAKHaY0Q3-hd-vQNe-ZMgEjYb=HRmyyVfFYSaeoQ0pgNm81QH9w@mail.gmail.com>
On 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?
You need one cache directory per tarsnap key file. Usually this means one cache
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