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

Squid Proxy Setup Does Not Work #13

Open
Rhynorater opened this issue Mar 9, 2022 · 1 comment
Open

Squid Proxy Setup Does Not Work #13

Rhynorater opened this issue Mar 9, 2022 · 1 comment

Comments

@Rhynorater
Copy link

Hello, I've noticed that here in dockerfile-kasm-core file the following line is used:

RUN chmod +x /etc/squid/start_squid.sh && chmod 4755 /etc/squid/start_squid.sh

https://github.com/kasmtech/workspaces-core-images/blob/develop/dockerfile-kasm-core#L108

This seems to imply that this sh script should be run with elevated privileges. However, bash interpreters and linux alike do not allow .sh files to run with setuid privs for security reasons. This breaks the functionality.

@j-travis
Copy link
Contributor

j-travis commented Mar 9, 2022

Hello,
Good observation. If the squid functionality is needed, it must be executed with elevated privs via docker exec after the container has started.

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