How to Add a new Folder at domain.com/apps/

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/example.com/Apps

Or if you can login with your user via ssh:

cd ~/web/
chmod 751 example.com
mkdir example.com/Apps
chmod 751 example.com/Apps
chmod 551 example.com
1 Like