[solved] [Windows hosting] Folder permission issue

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Robert
Forum Members
Forum Members
Posts: 15
Joined: Fri Jun 21, 2013 8:38 pm

[solved] [Windows hosting] Folder permission issue

Post by Robert »

I am struggling with a new installation of CMSMS 1.11.7 on a windows hosting provider.

CMSMS's System Information Page is complaining when it is checking permissions (tmp, templatest_c, modules and File Creation Mask checks)

However, all these directories are writable. I checked and double checked...

After diving into this problem I noticed that the 'System Information Page' is writing(!) _test_dir_write_ file into these directories. So apparently the issue is that these files cannot be removed.
If I remove all the _test_dir_write_ files from the site, I have green checkmarks once. Refreshing the System Information Page again is generating these _test_dir_write_ files again, and the check fails.

Is anyone familiar with this behaviour? How can I solve this?

-- Robert
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [Windows hosting] Folder permission issue (_test_dir_wri

Post by calguy1000 »

best answer: don't use windows.
second answer: if CMSMS can create files and not delete them, then it's still a windows permission issue. also check your umask.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Robert
Forum Members
Forum Members
Posts: 15
Joined: Fri Jun 21, 2013 8:38 pm

Re: [Windows hosting] Folder permission issue (_test_dir_wri

Post by Robert »

Unfortunately I cannot switch to another provide at this time, so your first suggestion is not an option.

For your second answer, I was always under the impression that umask do not work with windows hosting... At least I could never get it to work: Whatever umask I use on the test page, it always returns: owner N/A, permission N/A.

However your answer let me to try this again, and I tried a very strict umask (777). This returned an error, and a file that could not be deleted by cmsms. So the umask thing is doing something on windows too..

This led me to believe that maybe I messed up somewhere in the install, and I deleted everything, and started afresh.

And now everything is working as it should!

Thanks for pointing me in the right direction. Problem is solved.

-- Robert
Locked

Return to “[locked] Installation, Setup and Upgrade”