# Permissions error with FileSystem on Docker: "LocalStore: cannot set store permissions 0744"

**URL:** <https://forums.rocket.chat/t/permissions-error-with-filesystem-on-docker-localstore-cannot-set-store-permissions-0744/4175>\
**Category:** Community Support\
**Created:** [July 11, 2019, 6:40pm UTC](https://forums.rocket.chat/t/permissions-error-with-filesystem-on-docker-localstore-cannot-set-store-permissions-0744/4175 "2019-07-11T18:40:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephan1827](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@stephan1827](https://forums.rocket.chat/u/stephan1827)\
**Post date:** [July 11, 2019, 6:40pm UTC](https://forums.rocket.chat/t/permissions-error-with-filesystem-on-docker-localstore-cannot-set-store-permissions-0744/4175/1 "2019-07-11T18:40:36Z")

</div>

### Description

I install rocket chat on a Docker container, and get this error when using FileSystem (I was on GridFS by default but want to switch to FS due to a large MongoDB database size):

`LocalStore: cannot set store permissions 0744 (EPERM: operation not permitted, chmod '/app/files')`

The problem is that the folder inside the docker container has UID 1000. I can not change it with chown or chmod because the operation is not permitted. I tried to create the folder before I bind the volume and it has the rocketchat UID when I create but as soon as I bind the volume the UID changes to 1000.

### Server Setup Information

- Version of Rocket.Chat Server: 0.74.3
- Operating System: Lubuntu 18.04
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: Yes
- Firewalls involved: No
