# Unable to add, edit or copy files outside public\_html

**URL:** <https://forum.hestiacp.com/t/unable-to-add-edit-or-copy-files-outside-public-html/10803>\
**Category:** FTP\
**Created:** [August 30, 2023, 10:19am UTC](https://forum.hestiacp.com/t/unable-to-add-edit-or-copy-files-outside-public-html/10803 "2023-08-30T10:19:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 30, 2023, 10:36am UTC](https://forum.hestiacp.com/t/unable-to-add-edit-or-copy-files-outside-public-html/10803/2 "2023-08-30T10:36:24Z")

</div>

Hello @bruce,

You can’t add anything to `/home/username/web/domain.com` because of perms used by Hestia (it is like this for security reasons).

Take a look to this post for more info:

> [@How to Add a new Folder at domain.com/apps/](https://forum.hestiacp.com/t/how-to-add-a-new-folder-at-domain-com-apps/10697/2):
>
> Hello @EdwardC, You can’t do it using file manager because when HestiaCP creates the web domain, it changes the perms of dir /$HOMEDIR/$user/web/$domain/ to 551 and that means no write perm so you can’t add neither directories nor files. If you really need it, you could create it as user root. Example using test (as user and group), example.com as domain and Apps as the new dir: mkdir /home/test/web/example.com/Apps chown test:test /home/test/web/example.com/Apps chmod 751 /home/test/web/exa…

If you want to change perms for that dir, keep in mind that if the iste is rebuilt, Hestia will change again them.

Also, if you will use php, maybe you would like to create and add a new php-fpm template to your site adding your new dirs to open\_basedir directive.

> [@How to fix? This error showing](https://forum.hestiacp.com/t/how-to-fix-this-error-showing/10602/6):
>
> Hello @damiko193, The first thing you should do is to know why Chevere is trying to use install outside public\_html dir, that install should be inside public\_html as @Raphael pointed out a few posts above. If you can’t change the install file/dir for whatever reason, you should add /home/admin/web/spinor.skin/install to open\_basedir directive. The easiest way would be to add it to file .user.ini inside public\_html dir but you can’t do that because the php-fpm template defines open\_basedir lik…

Cheers,  
sahsanu

---

_[View the full topic](https://forum.hestiacp.com/t/unable-to-add-edit-or-copy-files-outside-public-html/10803)._
