ShibSta Posted January 31, 2006 Share Posted January 31, 2006 I have a Dedicated Windows server and everytime I try to install a new script I have to go in and manually edit the permissions of files and folders to make the script work.I keep reading things saying that with Windows you dont have to "CHMOD" (or set file permissions...).Am i doing something wrong? How can I setup the server so that I do not have to do this manually, I am hosting a few friends aswell on the server and it's getting complicated because all I ever hear is can you make this and that writable....Thanks Quote Link to comment https://forums.phpfreaks.com/topic/3292-windows-server-permissions/ Share on other sites More sharing options...
steelmanronald06 Posted February 6, 2006 Share Posted February 6, 2006 Until you get that fixed, give your friends CHMOD permission over their sites directories. With FileZille or CuteFTP you can just right click a file and CHMOD it. Quote Link to comment https://forums.phpfreaks.com/topic/3292-windows-server-permissions/#findComment-11367 Share on other sites More sharing options...
zq29 Posted February 6, 2006 Share Posted February 6, 2006 Technicaly, you can't CHMOD on a Windows box as it is a Unix command. I have done some projects before where my clients have had Windows boxes and every time I needed write access to a file/folder I have had to call the server admin and get them to change the permissions... Speak to your admin. Quote Link to comment https://forums.phpfreaks.com/topic/3292-windows-server-permissions/#findComment-11376 Share on other sites More sharing options...
AV1611 Posted February 12, 2006 Share Posted February 12, 2006 Or, you can do what I did, which is NOT the right way to do it, but, Hey, I like to live dangerously.I set the user accound for IIS to Administrator... It's a bad idea, but I can do whatever I want LOL[!--quoteo(post=343076:date=Feb 6 2006, 08:49 AM:name=SemiApocalyptic)--][div class=\'quotetop\']QUOTE(SemiApocalyptic @ Feb 6 2006, 08:49 AM) [snapback]343076[/snapback][/div][div class=\'quotemain\'][!--quotec--]Technicaly, you can't CHMOD on a Windows box as it is a Unix command. I have done some projects before where my clients have had Windows boxes and every time I needed write access to a file/folder I have had to call the server admin and get them to change the permissions... Speak to your admin.[/quote] Quote Link to comment https://forums.phpfreaks.com/topic/3292-windows-server-permissions/#findComment-11622 Share on other sites More sharing options...
steelmanronald06 Posted February 14, 2006 Share Posted February 14, 2006 Blah! What was I thinking CHMOD on a Unix? LOL! Want my honest opinion? Get rid of windows and grab you a nice linux distro. For webhosting and such I would go with CentOS...if your new there are a few new ones out there such as Debian and Ubuntu...If your really good at linux go Gentoo...CentOS is what I perfer for web servers, however. Quote Link to comment https://forums.phpfreaks.com/topic/3292-windows-server-permissions/#findComment-11697 Share on other sites More sharing options...
craygo Posted February 14, 2006 Share Posted February 14, 2006 In order for your scripts to run from a web page you have to give the IUSR_xxxxx user (where xxxx is the machine name) full control of one under, permission to the wwwroot folder. Also when you add or change the permissions on the folder click the advanced button then click the "Replace permission entries on all child objects..." then click apply. This will set all permissions on lower files and folders the same as that one. Now when you copy or move a file to that directory the permission should be all set.Also you should give at least read/execute permission to your php folder to the same user. This will make sure your web pages can access extensions in the php folder and temp folders there as well Quote Link to comment https://forums.phpfreaks.com/topic/3292-windows-server-permissions/#findComment-11699 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.