Page 1 of 1

[solved] [Windows hosting] Folder permission issue

Posted: Fri Jun 21, 2013 8:48 pm
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

Re: [Windows hosting] Folder permission issue (_test_dir_wri

Posted: Sat Jun 22, 2013 12:05 am
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.

Re: [Windows hosting] Folder permission issue (_test_dir_wri

Posted: Sat Jun 22, 2013 1:47 pm
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