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

Open Base Dir Restriction #68

Open
PROXCLOUT opened this issue Apr 20, 2024 · 1 comment
Open

Open Base Dir Restriction #68

PROXCLOUT opened this issue Apr 20, 2024 · 1 comment

Comments

@PROXCLOUT
Copy link

SassBinary.php: 135
file_exists('/etc/alpine-release') ? 'linux-musl' : 'linux';

On bin/console sass:build -> critical Error because System didnt allow to check this path.

Fixed it by hardcoding the variable to "linux"

@bocharsky-bw
Copy link
Member

bocharsky-bw commented Apr 22, 2024

Hey @PROXCLOUT ,

I suppose running it via sudo (with admin permissions) should work for you?

Do you have any ideas on how to fix this? Could you try something like this if (is_readable('/etc/alpine-release') && file_exists('/etc/alpine-release')) - probably it will work for you? Or leverage is_file('/etc/alpine-release')

Also, the exact error message would help with this. And could you share your OS info?

Please, feel free to open a PR if you have a solution on how to fix it.

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