# Back-up mislukt vanwege machtigingen?

**URL:** <https://meta.discourse.org/t/backup-failed-due-to-permissions/167487>\
**Category:** Product Support\
**Created:** [17 oktober 2020 om 23:56 UTC](https://meta.discourse.org/t/backup-failed-due-to-permissions/167487 "2020-10-17T23:56:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)\
**Post date:** [17 oktober 2020 om 23:56 UTC](https://meta.discourse.org/t/backup-failed-due-to-permissions/167487/1 "2020-10-17T23:56:27Z")

</div>

I’m getting a backup error with

```bash
[2020-10-17 23:40:29] EXCEPTION: lib/discourse.rb:92:in `exec': tar: /var/www/discourse/public/backups/default/bringing-data-to-life-2020-10-17-234010-v20200916085541.tar: Cannot open: Permission denied
tar: Error is not recoverable: exiting now

```

I’ve logged into the container, went to the directory and confirmed the root user can create files.

I changed the permissions to 777 and the backup worked. Even though this is private site I’m not keen on leaving 777 permissions on a possibly public link.

_Does the backup process run with a different user from root?_

---

_[View the full topic](https://meta.discourse.org/t/backup-failed-due-to-permissions/167487)._
