# User cannot upload files

**URL:** <https://forums.rocket.chat/t/user-cannot-upload-files/5294>\
**Category:** Community Support\
**Created:** [December 16, 2019, 5:16am UTC](https://forums.rocket.chat/t/user-cannot-upload-files/5294 "2019-12-16T05:16:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamjedgar](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@adamjedgar](https://forums.rocket.chat/u/adamjedgar)\
**Post date:** [December 16, 2019, 5:16am UTC](https://forums.rocket.chat/t/user-cannot-upload-files/5294/1 "2019-12-16T05:16:19Z")

</div>

Hi guys, i struck a problem…users cannot upload files. they get a server 500 error.  
The error log shows  
I20191216-04:41:40.814(0) Exception while invoking method ‘ufsComplete’ { Error: EROFS: read-only file system, open ‘/svLEGKXZiMycvunbY.png’ errno: -30, code: ‘EROFS’, syscall: ‘open’, path: ‘/svLEGKXZiMycvunbY.png’ }

i have found a forum topic on this [https://github.com/RocketChat/Rocket.Chat/issues/4432](https://github.com/RocketChat/Rocket.Chat/issues/4432)

where we need to create the local storage directory in rocket chat .  
I have created the directory /var/snap/rocketchat-server/common/uploads

however, i am not sure about permissions.

i am logged in via putty as root user (Ubuntu 19 VPS)

Current permissions are drwxr-xr-x 4 root root

what should i do with directory permissions from this point forward to ensure that a user is able to write to /common/uploads?

Am i attempting to correct solution for this? (I am using snaps btw)

---

<div class="post-metadata">

**Author:** ![adamjedgar](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@adamjedgar](https://forums.rocket.chat/u/adamjedgar)\
**Post date:** [December 16, 2019, 5:22am UTC](https://forums.rocket.chat/t/user-cannot-upload-files/5294/2 "2019-12-16T05:22:48Z")

</div>

i ran a test and it appears to be working so i assume that i dont have to do anything more?
