Jun 17, 2013

Composer and IIS

When running composer on a site hosted by IIS, the permissions of downloaded files aren't correct. The IIS user is not added, which means all of those packages you just downloaded cannot be used by your application. Fret not, there is a simple command to recursively update permissions (a la chmod, chgrp for linux).

icacls ./ /grant:r IUSR:"(OI)(CI)"F /t /inheritance:e

This took a bit of time to start and finish, but when it was completed, everything was good to go.

No comments:

Post a Comment