ubuntu admin user permissions to vestacp admin folders
Posted: Wed Jun 08, 2016 5:30 am
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