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

Fix AssumeRole functionality on windows #1062

Merged
merged 2 commits into from
Dec 16, 2014

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Dec 15, 2014

On windows, the : char is not allowed in the filename, so we replace these with an _ char.
Also, for POSIX systems, the file is created with 0600 permissions to restrict access to the cache files.

cc @kyleknap @danielgtaylor

The cache key cannot have ':' chars because this is not allowed
in filenames for windows

(http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx)

This means that the assume role functionality does not work on windows
until this issue is fixed.
@jamesls
Copy link
Member Author

jamesls commented Dec 16, 2014

Fixes #1063

@kyleknap
Copy link
Contributor

Look good 🚢

@jamesls jamesls merged commit 22d4cea into aws:develop Dec 16, 2014
@onthemove31
Copy link

I use S3 Sync but everytime i use it, it error's out with the above error. I'm not able to download the files to my local desktop from s3 since the file name has ":" on it in S3. Can you tell me how to overcome this with your code fix?

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.

3 participants