Skip to content

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

Open
@maxsimych

Description

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

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Enhancementnew feature or improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions