Skip to content

Docker: chmod -R 1777 /tmp sets sticky bit on files #709

Closed

Description

@robertoecf

Came up in a Gemini code review on our repo.

File: .github/docker/Dockerfile.ci:63

`chmod -R 1777` applies the sticky bit recursively to files inside /tmp — sticky bit only makes sense on directories. Line 61 already handles the directory itself correctly, so this line is doing more harm than good (could hit sockets or pipes if they exist).

Probably just remove the recursive chmod since the directory permission on line 61 is already correct.

Activity

  1. added a commit that references this issue on Apr 1, 2026
    3e316b3
  2. garrytan commented on Apr 9, 2026

    @garrytan
    Owner

    Addressed by #747

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