fix: normalize Debian payload modes
This commit is contained in:
parent
9404c09cae
commit
cef903b77e
1 changed files with 3 additions and 3 deletions
|
|
@ -67,9 +67,9 @@ EOF
|
||||||
# Native package (no Debian revision in the version), so plain changelog.gz.
|
# Native package (no Debian revision in the version), so plain changelog.gz.
|
||||||
gzip -9n -c "$STAGE/changelog" > "$DOC/changelog.gz"
|
gzip -9n -c "$STAGE/changelog" > "$DOC/changelog.gz"
|
||||||
|
|
||||||
# Normalize permissions regardless of the builder's umask: no group/other
|
# Normalize permissions regardless of the builder's umask: traversable
|
||||||
# write anywhere, executable entry point.
|
# directories, readable files, and execute bits retained only where intended.
|
||||||
chmod -R go-w "$PKG/usr"
|
chmod -R u+rwX,go=rX "$PKG/usr"
|
||||||
chmod 0755 "$LIB/src/cli.js"
|
chmod 0755 "$LIB/src/cli.js"
|
||||||
|
|
||||||
# --- control -----------------------------------------------------------------
|
# --- control -----------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue