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

aws s3 fails in it encounters a socket file and program hangs #782

Closed
woodnt opened this issue May 17, 2014 · 1 comment
Closed

aws s3 fails in it encounters a socket file and program hangs #782

woodnt opened this issue May 17, 2014 · 1 comment
Labels
bug This issue is a bug. s3

Comments

@woodnt
Copy link

woodnt commented May 17, 2014

aws s3 sync fails if it encounters a socket file as in:

# aws s3 cp /home/beth/.config/chromium/SingletonSocket s3://HIDDEN/home/beth/.config/chromium/
upload failed: ../home/beth/.config/chromium/SingletonSocket to s3://HIDDEN/home/beth/.config/chromium/SingletonSocket [Errno 6] No such device or address: u'/home/beth/.config/chromium/SingletonSocket'

The expected behavior is to deal with it, skip it, or fail (preferably not the last as it makes s3 ineffective as a backup solution).

I would recommend that aws s3 as it is dealing with files only work with directory and regular files (with link dereferencing as an option). I fear it will fail on other file types, too, like pipes, block files, and character device files. These should all be handle gracefully.

It should also not completely hang the program. Double Ctrl-C fails to cancel it (clean up). One must find the process number and kill it.

@kyleknap
Copy link
Contributor

Closing, issue is fixed via #881 and is now merged into the develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. s3
Projects
None yet
Development

No branches or pull requests

3 participants