# Read/Create/Delete files in "files" (755) folder

**URL:** <https://forum.shopware.com/t/read-create-delete-files-in-files-755-folder/58725>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [22. März 2019 um 18:14 UTC](https://forum.shopware.com/t/read-create-delete-files-in-files-755-folder/58725 "2019-03-22T18:14:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hai2004](https://avatars.discourse-cdn.com/v4/letter/h/ac8455/32.png) [@hai2004](https://forum.shopware.com/u/hai2004)\
**Post date:** [22. März 2019 um 18:14 UTC](https://forum.shopware.com/t/read-create-delete-files-in-files-755-folder/58725/1 "2019-03-22T18:14:38Z")

</div>

Hi all,

The permission of **files** folder is **755** , Shopware can create files (invoices) in folder **files/documents/** and let admin download those files.

My question is: how can I gain the permission to do the same thing, that mean open/create/delete files in this folder with admin account ofcourse.

I tried

**$filesystem = $this-\>container-\>get(‘shopware.filesystem.private’);**

**$filesystem-\>write(“abc.txt”,“abc”);**

but no luck.

Should I change permission of this folder to 777 ?

Thanks!
