[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tarsnap Cache Issue in WSL
- To: "Brendan K." <KB190@protonmail.com>
- Subject: Re: Tarsnap Cache Issue in WSL
- From: Graham Percival <firstname.lastname@example.org>
- Date: Tue, 21 Jul 2020 13:12:29 -0700
- Cc: "email@example.com" <firstname.lastname@example.org>
- In-reply-to: <5ZhZhteRfjehojgD4rPXtU1p40h6D-JwItcjQycFJ-C7lOoHvoTrnWOb6jnDDsEzg7BZyJlrm2saC0YQHrRxm0zc_RhAJLDMLc3VdeRTwEcemail@example.com>
- References: <5ZhZhteRfjehojgD4rPXtU1p40h6D-JwItcjQycFJ-C7lOoHvoTrnWOb6jnDDsEzg7BZyJlrm2saC0YQHrRxm0zc_RhAJLDMLc3VdeRTwEcfirstname.lastname@example.org>
Could you try executing this command manually?
sudo ln /root/tarsnap-cache/directory.tmp /root/tarsnap-cache/directory
I'm expecting it to say "Permission denied". That would be good
news -- it means that we can investigate the permission problem
with shell commands.
Could you please send me the output of
ls -al /root/tarsnap-cache
? (if the `ls` command gives you "Permission denied", try adding
a `sudo` to it)
- Graham Percival
On Tue, Jul 21, 2020 at 06:01:09PM +0000, Brendan K. wrote:
> I ran into a problem I cannot seem to solve. I use WSL on the latest version of Windows 10 and Ubuntu 20.04 LTS. I recently upgraded my host, so I had to reinstall Tarsnap on WSL. I am running Tarsnap as root, and I am trying to create an archive. In my tarsnap.conf file I set my cache directory to be in /root.
> I am getting an error message that say's the following: "tarsnap: link(/root/tarsnap-cache/directory.tmp, /root/tarsnap-cache/directory): Permission denied"
> I made sure permissions were set correctly on the tarsnap-cache directory (I have tried full rwx to everyone), and I have tried the default location in /usr/local/; none of this has worked and I get the same error message.
> I made a second keyfile, but I have also tried to reuse my keyfile from before I upgraded my host but that didn't seem to work in creating an archive either; it let me extract from archives though.
> I am using the basic command: sudo tarsnap -cvf "BACKUP_NAME" /mnt/c/Users/[USER]/Documents/tar-backup
> I am at a loss as to why this is happening and I would greatly appreciate any help.
> Brendan K.