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

If the upload creates a directory, the directory has the wrong permissions #30

Closed
kendrickm opened this issue Oct 16, 2018 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@kendrickm
Copy link
Contributor

The agent tries to create a file and directory with permission 0644 which is fine for files(we probably want to support uploading executable files at some point) but directories need the execute permission. This can be done by doing two io writes, one on the path with 0774, and then the file with 0644

@kendrickm kendrickm added the bug Something isn't working label Oct 16, 2018
@kendrickm kendrickm self-assigned this Oct 16, 2018
@deviantony
Copy link
Member

@kendrickm what about using 755 for the directory permissions instead of 774 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants