How to set permission 707 in Window XP?
Posted: Sun Aug 14, 2005 4:17 pm
I use linux hosting with appach for php/mysql
but I use window xp pro with IIS.
I set directory permission in hosting
mode: 707(and Apply to all files.) and my application works fine.
707: Owner: Read,Write,Exec, Other: Read,Write,Exc
How can I make the same permission in my comp, Xp pro?
I make share, .. but, it doesn't work.
The app create directories like following..
@fwrite($file,"<?\n$hostname\n$user_id\n$password\n$dbname\n?>\n"
@fclose($file);
@mkdir("data",0707);
@mkdir("images",0707);
@mkdir("img",0707);
@mkdir("img/banner",0707);
@mkdir("img/item",0707);
@mkdir("img/bg",0707);
@mkdir("img/class",0707);
@mkdir("img/session",0707);
@chmod("data",0707);
@chmod("images",0707);
@chmod("img",0707);
@chmod("img/banner",0707);
@chmod("img/item",0707);
@chmod("img/bg",0707);
@chmod("img/class",0707);
@chmod("img/session",0707);
@chmod("config.php",0707);
this doesn't work on my window..
Any idea?
Thank you..
but I use window xp pro with IIS.
I set directory permission in hosting
mode: 707(and Apply to all files.) and my application works fine.
707: Owner: Read,Write,Exec, Other: Read,Write,Exc
How can I make the same permission in my comp, Xp pro?
I make share, .. but, it doesn't work.
The app create directories like following..
@fwrite($file,"<?\n$hostname\n$user_id\n$password\n$dbname\n?>\n"
@fclose($file);
@mkdir("data",0707);
@mkdir("images",0707);
@mkdir("img",0707);
@mkdir("img/banner",0707);
@mkdir("img/item",0707);
@mkdir("img/bg",0707);
@mkdir("img/class",0707);
@mkdir("img/session",0707);
@chmod("data",0707);
@chmod("images",0707);
@chmod("img",0707);
@chmod("img/banner",0707);
@chmod("img/item",0707);
@chmod("img/bg",0707);
@chmod("img/class",0707);
@chmod("img/session",0707);
@chmod("config.php",0707);
this doesn't work on my window..
Any idea?
Thank you..