Skip to content

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

Open
stedfn wants to merge 1 commit intogarrytan:mainfrom
stedfn:stedfn/fix-docker-chmod
Open

fix: remove duplicate chmod -R 1777 /tmp in Dockerfile (#709)#716
stedfn wants to merge 1 commit intogarrytan:mainfrom
stedfn:stedfn/fix-docker-chmod

Conversation

@stedfn
Copy link
Copy Markdown
Contributor

@stedfn stedfn commented Mar 31, 2026

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>
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

1 participant