-
Notifications
You must be signed in to change notification settings - Fork 12
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
Files of type Symlink are not written correctly #15
Comments
This was referenced Sep 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The library is able to deserialize
Header
structs from Symlink files:cpio/svr4.go
Lines 90 to 101 in b4d3577
However, it completely ignores the
Linkname
attribute while writing the header, resulting in zero-sized files without target.Note that using
writer.Write(target)
as a workaround isn't an option because the method isn't supported for files other than Regular:cpio/writer.go
Lines 103 to 105 in b4d3577
The text was updated successfully, but these errors were encountered: