fix deb permissions
build / build (push) Successful in 27s

This commit is contained in:
tchivert committed 2026-10-24 11:00:37 +02:00
1 parent 1bef9cd331
commit b6a4e47932
1 file changed
+11
+11
View File
@@ -71,6 +71,17 @@ jobs:
echo "Homepage: https://git.rznet.fr/tchivert/rdu" >> rdu-arm64/DEBIAN/control
echo "Description: another disk usage utility" >> rdu-arm64/DEBIAN/control
- name: Set deb file permissions
run: |
# Runners may use umask 000, which makes dpkg-deb reject the
# control directory (must be 0755-0775). Set permissions
# explicitly: directories 0755, files 0644, binary 0755.
for arch in amd64 arm64; do
find rdu-$arch -type d -exec chmod 0755 {} +
find rdu-$arch -type f -exec chmod 0644 {} +
chmod 0755 rdu-$arch/usr/bin/rdu
done
- name: Build deb files
run: |
dpkg -b rdu-amd64 bin/rdu-amd64.deb