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

file modes in top-level ar archive don't match dpkg #126

Closed
programmerjake opened this issue Apr 10, 2024 · 1 comment · Fixed by #127
Closed

file modes in top-level ar archive don't match dpkg #126

programmerjake opened this issue Apr 10, 2024 · 1 comment · Fixed by #127

Comments

@programmerjake
Copy link
Contributor

first bytes in a .deb created by dpkg:

!<arch>
debian-binary   1611345884  0     0     100644  4         `
2.0
control.tar.xz  1611345884  0     0     100644  10384     `

first bytes in a .deb created by cargo-deb:

!<arch>
debian-binary   1712732414  0     0     644     4         `
2.0
control.tar.gz  1712732414  0     0     644     1435      `

notice how the dpkg version has mode 100644, where the initial 10 indicates that they're files:
https://unix.stackexchange.com/questions/450480/file-permission-with-six-octal-digits-in-git-what-does-it-mean/450488#450488

I encountered this while trying to figure out why file-roller couldn't extract the control.tar.gz or data.tar.gz files...

@kornelski
Copy link
Owner

Please make a PR with a 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 a pull request may close this issue.

2 participants