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

Scrutiny: cap_drop all breaks app #991

Open
VladFlorinIlie opened this issue Nov 21, 2024 · 1 comment · May be fixed by #992
Open

Scrutiny: cap_drop all breaks app #991

VladFlorinIlie opened this issue Nov 21, 2024 · 1 comment · May be fixed by #992
Assignees

Comments

@VladFlorinIlie
Copy link

By dropping all capabilities (besides "SYS_ADMIN" and "SYS_RAWIO"), the app cannot access the internal assets directory from /opt/scrutiny/web/

image

This causes the web page to miss various icons (check the following images):
Working:
image

Broken:
image

Adding at least the "CAP_DAC_READ_SEARCH" capability fixes it.

@stavros-k stavros-k self-assigned this Nov 22, 2024
@stavros-k
Copy link
Contributor

Thanks, weird that there was no logs about these.

@stavros-k stavros-k linked a pull request Nov 22, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants