How to set permission 707 in Window XP?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
goodmorningsky
Forum Newbie
Posts: 11
Joined: Thu Aug 11, 2005 12:40 am

How to set permission 707 in Window XP?

Post by goodmorningsky »

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..
programmermatt
Forum Commoner
Posts: 65
Joined: Tue Mar 15, 2005 5:03 pm
Contact:

Post by programmermatt »

PHP, as far as I know, does not support permissions on WinXP. If they did it would be a little more complex than the nice #### system that linux has.
theda
Forum Contributor
Posts: 332
Joined: Sat Feb 19, 2005 8:35 am
Location: USA

Post by theda »

I am not quite sure that Windows Servers actually support CHMOD. CHMOD is specifically Unix servers, I do believe. However, I believe that Windows IIS systems have their own featuers of security that do things similar to CHMOD.
theda
Forum Contributor
Posts: 332
Joined: Sat Feb 19, 2005 8:35 am
Location: USA

Post by theda »

I have found a website that has a tutorial on how to set permissions on IIS, if I find anything about WinXP servers, I'll post it also:

http://coppermine-gallery.net/tutorial/ ... ns/iis.php

To install IIS on WinXP Professional PC's: http://www.dotproject.org/articles.php?action=read&id=5

Edit: Make your own PC a web server free with http://www.aprelium.com/abyssws/
Post Reply