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
Cannot make file executable in deb package #1015
Comments
There is currently no way to specify extra file attributes. |
my idea: "pkgbuild": {
"content": {
"/some/file1.sh" : {
"name": "build/file1.sh",
"user": "root",
"group": "sys",
"mode": "0755"
}
}
} |
Yes, I was thinking about something like this. You already have similar structure you use to keep these entries internally right? |
I found a workaround. It is possible to make it executable through post install. And you have support for that with "pkgbuild": {
"content": {
"/usr/local/bin/foo" : "..."
},
"hooks": "debian_hook.sh"
} And file
Still would be more convenient to have this |
In content section I define a file
bin/bar
to be installed as/usr/local/bin/foo
:Although
bin/bar
is executable it is not anymore in created deb package.I checked temporary directory where files are prepared and executable flag is already lost there.
How to make file executable?
The text was updated successfully, but these errors were encountered: