Help - Search - Members - Calendar
Full Version: new httpdocs permissions
The Planet Forums > Control Panels > Plesk
jstephanoff
I noticed now that httpdocs have some kinda of new permissions where only root or the domain username can execute files with in this directory.

I am attempting to install hivemail, which uses a preline pipe to execute a file instead of process mail normally, and ofcourse i get permission denied every time the script is called into action.

Is there a way i can turn off these restrictions for the domains that need this sort of outside manipulation?
dedi_ensim
i dont take responsibility if anything goes wrong if you follow this,

when sites are made the skeleton used to create sites is as follows:

HTTP placeholder:

/home/httpd/vhosts/.skel/0/httpdocs/index.html

HTTPS placeholder:

/home/httpd/vhosts/.skel/0/httpsdocs/index.html

Errror Docs:

/home/httpd/vhosts/.skel/0/error_docs/bad_request.html

/home/httpd/vhosts/.skel/0/error_docs/forbidden.html

/home/httpd/vhosts/.skel/0/error_docs/internal_server_error.html

/home/httpd/vhosts/.skel/0/error_docs/not_found.html

###########

from that data i presume that skeleton is used to create them particular sections for the site. This may work although i do not guarantee it:

BEFORE YOU DO ANYTHING, REMEMBER THE CURRENT CHMOD SETTINGS, IF THIS DOES NOT WORK YOU SHOULD EASILY BE ABLE TO CHANGE THEM BACK.

chmod xxx # /home/httpd/vhosts/.skel/0/httpdocs


replace the xxx with a permission suitable for the script you are using.

Hope this helps you icon_smile.gif

Chris
j0ntar
that doesnt work. the only that i can figure out is to 755 httpdocs of the domain in question, and i am really not to keen on the idea.

ill keep digging. thanx for the info though.
psalzmann
I'm on Plesk 7.0.2 with a HOTFIX (issue with hd not showing properly in plesk CP)

I was able to make preline work to email php filter ONLY after hundreds of hours of research (no JK), but enough to realize that in order to execute a php script via .qmail-default is to CHMOD 755 the /httpdocs/ folder if your file is located in /httpdocs/script.php

I must ask, I'm not a security expert, so what exactly could this CHMOD from 750 to 755 do in the long run?

Thanks in advance
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.