Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am fairly new to IIS coming from simple old apache.

I am trying to figure out how to grant 777 permissions on a website i added in IIS. i need 777 permissions for that folder because its a php uploader and needs those permissions to write the uploaded file. i tried giving IIS Users full access but it just wont work..and when checking that folder in a ftp program it says 755. cant change it from there either..

Also. if that folder is in


How can i set it so the url would be:

Right now its just showing up when launching

I am using IIS8 on Windows Server 2012 with root access of course.

Any thoughts on this?

share|improve this question
up vote 2 down vote accepted

There is no such thing as 777 permissions on Windows. You set access to a resource by adding Access Control Entries (ACEs) to Access Control Lists (ACLs).

Assuming you are using the defaults for IIS8, you can grant write permission to the directory like this:

icacls.exe "C:\inetpub\wwwroot\uploader" /t /grant "IIS AppPool\DefaultAppPool:(OI)(CI)(M)"

The IIS application pool runs under the "IIS AppPool\DefaultAppPool" account, so you want to give it Modify permissions.

C:\inetpub\wwwroot\ should be you site root, so 'uploader' should be accessible via ''. If not check the settings of your site.

share|improve this answer
Indeed the url was infact /uploader but when setting the permissions nothing was fixed..i decided to try the apache way and see if i can overrun this problem..thank you anyway my friend – TonalDev Jan 1 '13 at 21:16

the "not so secure" way of doing things would be to right click on the folder (uploads) then go properties -> security -> add "everyone" and give it read / write

better way is to add a user IIS_USR to it instead.. way more secure.. but meh.. if you want 777 then you obviously not too stuck up on security. i use everyone for my dev machine

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.