On 07/15/13 19:25, Chris Brooks wrote: > Ok, so is the normal usage to choose one user account per system to be able to > use tarsnap with a given tarsnap account? I'm thinking I don't want to use > "root" for this (doesn't seem safe).
Most people run tarsnap as root, because they want to back up data which only root has access to. Colin Percival > > > > On Mon, Jul 15, 2013 at 7:19 PM, Colin Percival <[email protected] > <mailto:[email protected]>> wrote: > > 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 <http://www.tarsnap.com> | Online > backups > for the truly paranoid > > -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
