Skip to content

Recent security update changed default permissions of tmpfs #4971

@khuey

Description

@khuey

Description

Updating runc recently has resulted in the default permissions on docker tmpfses being 0755 rather than the expected 1777.

Steps to reproduce the issue

  1. docker run --tmpfs /my-tmp:exec --rm -it ubuntu:latest ls -al /my-tmp

Describe the results you received and expected

After the security update:

total 0
drwxr-xr-x 2 root root 40 Nov 5 17:54 .
drwxr-xr-x 1 root root 12 Nov 5 17:54 ..

Before the security update

total 0
drwxrwxrwt 2 root root 40 Nov 5 17:55 .
drwxr-xr-x 1 root root 12 Nov 5 17:55 ..

What version of runc are you using?

1.3.3-0ubuntu1~24.04.2

Host OS information

Ubuntu 24.04 LTS

Host kernel information

6.15.0

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