Forum Moderators: coopster

Message Too Old, No Replies

PHP Permissions

changing windows permissions with php

         

bysonary

2:08 pm on Dec 13, 2006 (gmt 0)

10+ Year Member



Hello

I want to run a script that will change the permissions of a given directory (after the same script has made that directory)

I think this would be possible in linux with chmod but how to do it in windows server 2003?

I basically want the script to make a directory/folder and then change the permissions of that directory so everyone has full control (777)

is this possible? and if so can someone point me in the direction of some notes on it or possibly give me an example to get things rolling?

cheers.

justageek

3:34 pm on Dec 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm thinking that the easiest way to do it would be to just set up a root directory where all the subdirectories you create will inherit the main directory permissions which you could set to full control for all.

JAG

mcibor

4:50 pm on Dec 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have a look at
Chmod-Win
[neosmart.net...]

Michal