Skip to content
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

Is there a way to control the permission of the vendor-prefixed folder? #104

Closed
estevao90 opened this issue May 7, 2024 · 5 comments
Closed

Comments

@estevao90
Copy link

Starting in v0.16.0, the permission of the vendor-prefixed folder was changed to 0600. I think it's related to this commit, and it's not intentional.

Is there any chance to use (0755) as default again? Or maybe introduce a parameter to allow us to change the permission?

The default value for the vendor folder is 0775. 0600 is very restrictive and may cause issues in servers managed by groups.

Thank you.

@BrianHenryIE
Copy link
Owner

Fixed in master c9fa47e

@estevao90
Copy link
Author

@BrianHenryIE, do you have a forecast for when you will release it?

@BrianHenryIE
Copy link
Owner

That is released now in 0.19.2. Thanks.

@estevao90
Copy link
Author

@BrianHenryIE , I just figured out another related issue.

The subfolders in vendor-prefixed do not have the correct permissions.

Looking at the code, we need to set visibility for the copied folders in this part https://github.com/BrianHenryIE/strauss/blob/master/src/Copier.php#L84

@estevao90
Copy link
Author

@BrianHenryIE , any update on it? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants