Windows Folders Permissions

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
afaq05
New Member
New Member
Posts: 2
Joined: Wed Jun 30, 2010 2:34 am

Windows Folders Permissions

Post 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..
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Windows Folders Permissions

Post 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.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
afaq05
New Member
New Member
Posts: 2
Joined: Wed Jun 30, 2010 2:34 am

Re: Windows Folders Permissions

Post 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?
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Windows Folders Permissions

Post 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.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Post Reply

Return to “CMSMS Core”