Page 1 of 1

[solved] Setting Permissions in Plesk??

Posted: Wed Oct 21, 2009 6:44 am
by ncd
Hi there,

So I've scoured the forums and net and can't work this out :(

I've set up a couple of sites on a linux server with no problems - setting the permissions is easy by just right clicking and changing to 777 or 666 etc... but on a windows server I have to do it through Plesk and I'm presented with a list of Groups and User names for which to adjust the permissions.

This is what I see;
Administrators
Plesk IIS User (IUSR_xlifecom)
Plesk IIS WP User (IWPD_110(xlifecom))
Plesk Domain User (xlifecom)
SYSTEM
FTP accounts (ftp_subaccounts)

But I can only edit these;
Plesk IIS User (IUSR_xlifecom)
Plesk IIS WP User (IWPD_110(xlifecom))
FTP accounts (ftp_subaccounts)

And these are the permissions options I'm given;
Full Control  
Modify
Read & Execute
List Folder Contents
Read
Write

So I've tried checking Read & Execute, Read & Write for the directories that need to be set to 777 - I've tried this on all 3 groups above, but no matter what I do, I get these error messages on my install page;

Code: Select all


Warning: Smarty::include(C:\Inetpub\vhosts\xlife.com.au\httpdocs\tmp\templates_c\%%C4^C43^C43F3191%%installer_start.tpl.php) [smarty.include]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\xlife.com.au\httpdocs\lib\smarty\Smarty.class.php on line 1276

Warning: Smarty::include() [function.include]: Failed opening 'C:\Inetpub\vhosts\xlife.com.au\httpdocs\tmp\templates_c\%%C4^C43^C43F3191%%installer_start.tpl.php' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\xlife.com.au\httpdocs\lib\smarty\Smarty.class.php on line 1276

Warning: Smarty::include(C:\Inetpub\vhosts\xlife.com.au\httpdocs\tmp\templates_c\%%B6^B63^B635D704%%pagestart.tpl.php) [smarty.include]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\xlife.com.au\httpdocs\lib\smarty\Smarty.class.php on line 1276

Warning: Smarty::include() [function.include]: Failed opening 'C:\Inetpub\vhosts\xlife.com.au\httpdocs\tmp\templates_c\%%B6^B63^B635D704%%pagestart.tpl.php' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\xlife.com.au\httpdocs\lib\smarty\Smarty.class.php on line 1276

Warning: Smarty::include(C:\Inetpub\vhosts\xlife.com.au\httpdocs\tmp\templates_c\%%18^181^181FA688%%installer_end.tpl.php) [smarty.include]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\xlife.com.au\httpdocs\lib\smarty\Smarty.class.php on line 1276

Warning: Smarty::include() [function.include]: Failed opening 'C:\Inetpub\vhosts\xlife.com.au\httpdocs\tmp\templates_c\%%18^181^181FA688%%installer_end.tpl.php' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\xlife.com.au\httpdocs\lib\smarty\Smarty.class.php on line 1276

Even if revert the settings back to their original state these error messages remain, so I have to delete all directories and upload again... and then I get the cmsms install error message saying that blah/blah/blah/tmp/templates_c is not writeable!

Have been going round in circles for 2 days!! Please help me set the permissions correctly if you know how.

Many thanks!

Re: Setting Permissions in Plesk??

Posted: Wed Oct 21, 2009 9:51 am
by Somebody_1
Try giving Full Access to IIS User on the appropriate directories.

I have never used plesk on a windows server (Didn't even know you could), but through IIS the default user is IIS User.

Is it a shared host? Do you have have RDP or similar access to it?

This begs the question why are you using a windows server for CMSMS?

Re: Setting Permissions in Plesk??

Posted: Wed Oct 21, 2009 2:55 pm
by tyman00
There is a known PHP bug on IIS where you can modify all of the NTFS settings as you want but you can still run into issues with a directory saying it is not "writable".

If you have GUI access via RDP or on the console go to the directory itself and right click on it. Go to properties. Then under "Attributes" make sure "Read-Only" is deselected.

Not sure if that will solve your problem, but is a start.

Re: Setting Permissions in Plesk??

Posted: Wed Oct 21, 2009 10:42 pm
by Somebody_1
We have about 10 CMSMS installs running on windows but we have full RDP access to the server to set permissions.

Re: Setting Permissions in Plesk??

Posted: Thu Oct 22, 2009 6:07 am
by ncd
Thanks so much for your help guys.

I tried clicking on the remote desktop protocol (I assume that's what you meant by rdp) it but don't have permission, so contacted my provider to see if I can get access or if they can assist...

In the end they said that wasn't the problem and assisted me in setting the permissions properly and it's now installed (I was assigning the permissions to the wrong group/user name)!! I've included their instructions below in case anyone happens to encounter the same problem.

It is a shared hosting account, and the reason I'm building on a windows server this time is because the original site, while being a static html site, has an admin site for the CRM and some asp's with forms that populate a MMsql database so we thought it would be easier to install cmsms on a windows server that supports php and asp for all the site content and keep the admin site on the existing windows server (which doesn't support php!).

A bit messy, but it's the best solution we can think of because we really don't want to have to move the admin site and the database...

Open to suggestions of course! :)

Cheers!

When adjusting access permissions using Plesk, you will see two tick boxes, the file or folder you're setting permissions for and two columns beneath this. A list of available users on the left, and their permissions on the right.

In the left hand column, you should select the correct user for your account - in this case "Plesk IIS User (IUSR_xlifecom)". Clicking this will load the current permissions into the right column - "Permissions for IUSR_xlifecom", which you can then modify accordingly.

As per the error, I have adjusted the permissions on your /tmp/templates_c/ folder with the following:

Read & Execute - tick
List Folder Contents - tick
Read - tick
Write - tick