Skip to content

fix: remove duplicate chmod -R 1777 /tmp in Dockerfile (#709) - #716

Closed
stedfn wants to merge 1 commit into
garrytan:mainfrom
stedfn:stedfn/fix-docker-chmod
Closed

stedfn wants to merge 1 commit into
garrytan:mainfrom
stedfn:stedfn/fix-docker-chmod

Conversation

@stedfn

@stedfn stedfn commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes duplicate chmod -R 1777 /tmp on line 63 of Dockerfile.ci
  • Line 61 already sets chmod 1777 /tmp correctly on the directory
  • The -R flag needlessly applies the sticky bit to files inside /tmp (sticky bit only makes sense on directories)

Fixes #709

Test plan

  • Docker image builds successfully
  • /tmp permissions are correct (1777 on directory, no sticky bit on files)

🤖 Generated with Claude Code

Line 61 already sets `chmod 1777 /tmp` correctly. The duplicate on line 63
used `-R` which needlessly applies the sticky bit to files inside /tmp.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@garrytan

garrytan commented Apr 5, 2026

Copy link
Copy Markdown
Owner

Closing — overlaps with #747 which addresses the same issue. Thank you for the contribution!

@garrytan garrytan closed this Apr 5, 2026
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 this pull request may close these issues.

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

2 participants