Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Folder ownership problem

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
vlahonick
Posts: 50
Joined: Sat Mar 21, 2015 10:08 am

Folder ownership problem

Post by vlahonick » Mon May 02, 2016 3:07 pm

After installing Vesta I was too lazy to setup and switch to admin user immediately and I did some stuff as root. Now I am confused with the folder and file ownership since I am not sure which should belong and were.

Code: Select all

my@vestaserver:/home/admin# ls -lh
total 16K
drwxr-xr-x  5 root  root  4.0K Dec 19 13:48 conf
drwxr-x--x 21 root  root  4.0K Apr 19 11:05 mail
drwxrwx--x  2 admin admin 4.0K Apr 13  2015 tmp
drwxr-x--x 21 admin admin 4.0K Apr 19 11:05 web
Should conf and mail belong to root or to admin?
Top

Falzo
Posts: 60
Joined: Mon Mar 28, 2016 8:49 am

Re: Folder ownership problem

Post by Falzo » Mon May 02, 2016 7:21 pm

it is correct like shown there conf and mail belong to root. this makes sense, as the user itself shouldn't be able to change things there.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Folder ownership problem

Post by skurudo » Mon May 02, 2016 10:04 pm

Like Falzo said, it's correct. If you look deeper, you see logs it's simlink... :)
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password