We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
ubuntu admin user permissions to vestacp admin folders
ubuntu admin user permissions to vestacp admin folders
I am new to linux and vestacp and would like some help understanding how permissions work on the linux ssh side in context of vestacp
I setup a sudo user before installing vestacp and would like for that user to be able to have full access to the admin folder but I am not sure the best way to go about that. I have added myself to the vestacp admin group and I understand I can use chown but I am not sure if this will cause problems with vestacp
Here is what I am trying to do
Login as myself which I am in sudo and admin groups
Then I want to be able to navigate the admin directory. I can't even do a list on the public_html directory for my domain
I know I can use sudo or create an ftp user but I would like to have full control over the admin folder logged in as the sudo user that I created before vestacp was installed.
Am I thinking about this in the wrong way, if so what should I be doing to easily be able to navigate the admin directories and manipulate files in public_html without sudo or ftp. Or is sudo and ftp the proper way to go. I understand that when editing a conf file you want to use sudo, but not being able to just list the directories in the admin/web folder without sudo is a pain.
If I can get access to the admin directory without harming vesta how do I set the proper access permissions, via chown or chmod or both?
One of my main concerns is that if I change ownership to me then will this affect vestacp's ability to change the config files it needs to modify?
Thanks
I setup a sudo user before installing vestacp and would like for that user to be able to have full access to the admin folder but I am not sure the best way to go about that. I have added myself to the vestacp admin group and I understand I can use chown but I am not sure if this will cause problems with vestacp
Here is what I am trying to do
Login as myself which I am in sudo and admin groups
Then I want to be able to navigate the admin directory. I can't even do a list on the public_html directory for my domain
Code: Select all
ls: cannot open directory .: Permission denied
delebash@ageektech:/home/admin/web/ageektech.com/public_html$
Am I thinking about this in the wrong way, if so what should I be doing to easily be able to navigate the admin directories and manipulate files in public_html without sudo or ftp. Or is sudo and ftp the proper way to go. I understand that when editing a conf file you want to use sudo, but not being able to just list the directories in the admin/web folder without sudo is a pain.
If I can get access to the admin directory without harming vesta how do I set the proper access permissions, via chown or chmod or both?
One of my main concerns is that if I change ownership to me then will this affect vestacp's ability to change the config files it needs to modify?
Thanks
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: ubuntu admin user permissions to vestacp admin folders
directory listing is DISABLED by default in Nginx/Apache for VestaCP and is strongly suggested to be kept 'off'.
upload a basic index.html file (infact Vesta creates one for you when you configure your domain fresh) and try accessign the domain, it should load the index file fine. After that you can setup any permissions as needed... But do not try this with empty dir.
After uploading your site as admin group member it should be fine... if permission problems you can issue
you can also use your yourusername:admin if you belong to the "admin" group
upload a basic index.html file (infact Vesta creates one for you when you configure your domain fresh) and try accessign the domain, it should load the index file fine. After that you can setup any permissions as needed... But do not try this with empty dir.
After uploading your site as admin group member it should be fine... if permission problems you can issue
Code: Select all
chown -R admin:admin /home/admin/web/domain.com/public_html