Composer Update Resets Folder Permissions

Created on 6 May 2020, about 4 years ago
Updated 28 March 2024, 3 months ago

Ever time I run the composer to install a module or update one, it seems that permissions get reset for the sites folder and also for index.php file in web folder.

Index.php permissions get reset to 664, so I have to change it to 644 after any composer operation. If I don't reset permissions, the site will not load. It just shows.

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@domain.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

πŸ’¬ Support request
Status

Active

Version

11.0 πŸ”₯

Component
ComposerΒ  β†’

Last updated about 22 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States tepelena

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024