Page 1 of 1

Windows Folders Permissions

Posted: Wed Jun 30, 2010 2:42 am
by afaq05
Hi,

I installed the CMSMS recently and from system info I realized that most of the folder permissions are 777

e.g. previews_path:

C:\Inetpub\wwwroot\webcms\tmp\cache (0777)


Is there a way to change this in Windows environment, as no matter what I do value remains 0777.

The same applies to config.php file: I denied write permissions to all users and groups using file properties window --> security tab, but I still can see this:

config_file:

0666 
config.php writable. It is more safe if you change permission to read-only


Does this pose security risk? What is the best way to avoid potential security problems?

Please help..

Re: Windows Folders Permissions

Posted: Wed Jun 30, 2010 6:40 am
by tyman00
You can try right clicking on the file, going to the Properties option and checking the "read only" option.

It's known that php reads that selection as well, be it a bug or not it doesn't make sense to me.

Otherwise try hitting google and searching for "chmod on windows" you might come across some suggestions there.

Re: Windows Folders Permissions

Posted: Thu Jul 01, 2010 2:39 am
by afaq05
Thanks.. This works with config.php file.. It's now changed to 0444..

But I need something less restrictive for the folders.. Any idea about changing it from 777 to 765 or 755?

Re: Windows Folders Permissions

Posted: Thu Jul 01, 2010 3:54 am
by tyman00
To be honest I don't remember the exact settings that closely resemble the Unix permissions. You'll have to do some testing and maybe some research.