Epitech / coding-style-checker

22 stars 45 forks source link

fix: SELinux labels not dropped #16

Closed emneo-dev closed 6 months ago

emneo-dev commented 6 months ago

Immutable distros making use of SELinux labels to avoid the user making breaking changes to core system components would have permission errors when running the coding-style.sh script.

Errors seen:

image This was run while inside the epitest docker container ran by distrobox on Fedora Silverblue 39. The same error happens when running directly from the host.

The permissions look like this from inside the fedora:38 docker image with a mounted volume: image

With fix:

image

Related:

https://discussion.fedoraproject.org/t/docker-volume-permission-denied/1948/2

emneo-dev commented 6 months ago

Thanks for the merge! :3