Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files in tmp should be created with 0600, and any created directories with 0700. #910

Closed
leehambley opened this issue Jan 27, 2014 · 1 comment

Comments

@leehambley
Copy link
Member

Ignoring the fact that this breaks some of the group related policies on which I personally rely, the file modes of incidentally created files and directories by Capistrano are too open, and may present a security risk under certain circumstances.

@mattbrictson
Copy link
Member

I assume this issue refers to the git wrapper script we upload to /tmp, which is the only place I think we use a temp file in Capistrano itself.

Adding "you can help" tag if anyone wants to try doing a PR for this.

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

No branches or pull requests

2 participants