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

[BUG] "Create" hangs on linux socket files #295

Open
maxsimych opened this issue Sep 20, 2021 · 0 comments
Open

[BUG] "Create" hangs on linux socket files #295

maxsimych opened this issue Sep 20, 2021 · 0 comments
Labels
Enhancement new feature or improvement

Comments

@maxsimych
Copy link

maxsimych commented Sep 20, 2021

What / Why

Creating archive hangs if target is linux socket (or folder with socket files inside).
At the same time, linux tar utility skips socket files, and ends process successfully.

When

When meets linux socket file

Current Behavior

Hangs

Steps to Reproduce

// If /var/run includes .sock files
await tar.create({
  gzip: true,
  file: "run.tar.gz",
}, ["/var/run"])

Expected Behavior

Creates archive

@darcyclarke darcyclarke added the Enhancement new feature or improvement label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants