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.
Jun 17, 2013
Jun 3, 2013
Updating Group File Permissions
From the command line:
chmod -R g+w *
This will give recursive group write access to everything. This is useful for me when my Apache is run under one user and my text editor is running under a different user (e.g. the user I logged in as). This will ensure both users, provided they're in the same group, will be able to edit the file.
Subscribe to:
Posts (Atom)