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

Permission problem

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
alex809
Posts: 6
Joined: Sun Feb 08, 2015 11:06 pm

Permission problem
  • Quote

Post by alex809 » Sun Feb 08, 2015 11:13 pm

Hey guys,
So i setup VestaCP to my VPS yesterday, Everything works great.

Got my domain setup, Can connect and everything.

Problem is, I go into FTP and create a folder (which works fine), But if i try to access that folder from the web (ie. mydomain.net/test) it says http://prntscr.com/62sb47

So i checked the permissions.
CHMOD permissions on every folder that was uploaded are: 775
CHMOD permissions on every file that was uploaded are: 664

When i created the folder "test" the default CHMOD permissions are: 775

I created the folder from the FTP account that i have setup to that domain through VestaCP.

This is driving me nuts because i don't believe that my database uploaded properly into PhpMyAdmin so i wanted to upload it using a web script and then delete the script after but i noticed this problem so i deleted the php file (php file is the script) and tried creating other folders only to notice that every folder i create I'm not allowed to access.

And when there are no files whatsoever in public_html for this domain i just get a forbidden error that I'm not allowed to access / on this server. Which is fine, Whatever. Most websites just end up displaying an empty directory listing but i get a forbidden page instead.

How can i fix this?
I need to fix this ASAP so i can work on getting my backup back online.
Everything is ready for it except the permission problems.

VPS is running
CentOS 6.6 64bit

Thanks guys
Any and all help is appreciated
Top

alex809
Posts: 6
Joined: Sun Feb 08, 2015 11:06 pm

Re: Permission problem
  • Quote

Post by alex809 » Mon Feb 09, 2015 8:45 am

Update: I just realized this is a security based feature.
It does this if there is no index.html or index.php file in the directory, It won't list empty directories because it could be a potential security issue.

Never new that, Just discovered it after hours of searching.
Now to figure out how the hell to fix FTP... Stupid insecure server: it does not support FTP over TLS
Top


Post Reply
  • Print view

2 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