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.
Folder and Files Ownership
-
- Posts: 3
- Joined: Fri Apr 29, 2016 6:01 am
Folder and Files Ownership
Hi There,
I have spawned a new server and installed vesta panel and magento.
However, when Magento created a folder / files after the installation, somehow the ownership of the files and folders is root.
This doesnt allow me to access / modify the new files through FTP.
I would have to change the ownership myself.
Is there a way to default the ownership to "admin" instead?
Thanks !
I have spawned a new server and installed vesta panel and magento.
However, when Magento created a folder / files after the installation, somehow the ownership of the files and folders is root.
This doesnt allow me to access / modify the new files through FTP.
I would have to change the ownership myself.
Is there a way to default the ownership to "admin" instead?
Thanks !
Re: Folder and Files Ownership
Something like this in your ssh console:rickyseptiawan wrote: I would have to change the ownership myself.
Code: Select all
chown -R admin:admin /home/admin/web/domain.com/public_html/
-
- Posts: 3
- Joined: Fri Apr 29, 2016 6:01 am
Re: Folder and Files Ownership
Yes that's what I did every time.
But then every time magneto creates a new folder / file again , the ownership of that specific folder / file is going to be root again .
But then every time magneto creates a new folder / file again , the ownership of that specific folder / file is going to be root again .
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Folder and Files Ownership
That should not be like that... but anyways
you can remove Magento and then install it as 'admin' so that whenever it runs some update or anything, it doesn't reset your folder permissions.
enable bash for admin in VestaCP. Login to SSH and su admin then perform all actions inside /domain/public_html
you can remove Magento and then install it as 'admin' so that whenever it runs some update or anything, it doesn't reset your folder permissions.
enable bash for admin in VestaCP. Login to SSH and su admin then perform all actions inside /domain/public_html
-
- Posts: 5
- Joined: Tue May 03, 2016 4:39 am
Re: Folder and Files Ownership
I also had the same problem.
Re: Folder and Files Ownership
Rly? Solution above:violajsilver wrote:I also had the same problem.
http://forum.vestacp.com/viewtopic.php? ... 302#p43248