Why does backup fail with permission denied (in /var/backups)?

7,488

Try change your backup location to your user folder /home/[username]/backup. Your existing user account might not have permission accessing the /var/backups. Otherwise, you can use chown and chmod command to make /var/backups folder accessible by your account.

Share:
7,488
IAN LASHFORD
Author by

IAN LASHFORD

Updated on September 18, 2022

Comments

  • IAN LASHFORD
    IAN LASHFORD almost 2 years

    My backup fails and shows this message:

    Permission denied when trying to create
    '/var/backups/duplicity-full.20140907T165614Z.vol1.difftar.gpg'

    How do I remedy this?

    • Lucio
      Lucio almost 10 years
      What are you using to backup?
    • Eliah Kagan
      Eliah Kagan almost 10 years
      @Lucio Given the error message, presumably Duplicity is being used.
    • guntbert
      guntbert almost 10 years
      Edit your question to show us the output of ls -ld /var/backups.