-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mkdir default mask #29
Comments
0777 is the default value anyway so could be omitted altogether - let's see whether the dumb security scanner catches THAT ;-) Joking aside, just omitting is IMHO really the best option instead of taking any sides - if people want to influence that they could just as well set a default umask. |
@mrook , do you recall any regular runtime issues that necessitated using Just looking for some guidance from your experience :) |
Thanks much @mrook ... that takes some fear away from me regarding this change :) @mcdruid, I'll assign this to you... that way you can use this opportunity to do a PR and run through the overall release process for the package. I'd probably make this a point release rather than patch release, given the potential of the visible runtime behavior change. |
Fixed on #46... should be released as 1.5.0 soon. |
In these 2 lines, a mask of 0777 is used to create directories. This flags some PHP source code security scanners. A safer suggested value here would be 0755:
Archive_Tar/Archive/Tar.php
Line 2109 in 8407ee4
Archive_Tar/Archive/Tar.php
Line 2408 in 8407ee4
The text was updated successfully, but these errors were encountered: