Skip to content

usr/lib/os-release should not be executable #2118

Description

@aburch

Describe the bug
The file usr/lib/os-release is marked as executable. I checked the following image:

gcr.io/distroless/static-debian13               latest                   f39a20497483  56 years ago   3.26 MB

To Reproduce
Steps to reproduce the behavior:

Run ls -l usr/lib/os-release after mounting the image (podman mount):

# ls -l usr/lib/os-release
-r-xr-xr-x 1 root root 344  1. Jan 1970  usr/lib/os-release

Expected behavior
The file should not be marked as executable. In Debian proper it is not:

$ ls -l /usr/lib/os-release 
-rw-r--r-- 1 root root 220 31. Mai 11:20 /usr/lib/os-release

Console Output
N/A

Additional context
N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions