Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#14333) Ensure module permissions are sane.
Prior to this change, tarballs unpacked by the root user would be unpacked with the permissions and the ownership information present in the tarball. In the best case, this made some modules fail to function after installation since the newly installed module was owned by a different user. In the worst case, this could be seen as a fairly serious security vulnerability. This change ensures that the module's permissions are always owner-writable, world-readable, and that the owner is always the same as the module's parent directory.
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters