Skip to content

Comments

Use fakeroot when building .deb packages#759

Open
hex110 wants to merge 1 commit intoSyncplay:masterfrom
hex110:fix/deb-package-ownership
Open

Use fakeroot when building .deb packages#759
hex110 wants to merge 1 commit intoSyncplay:masterfrom
hex110:fix/deb-package-ownership

Conversation

@hex110
Copy link

@hex110 hex110 commented Feb 16, 2026

Summary

  • Without fakeroot, files in the .deb package are created with the build user's UID:GID instead of root:root (0:0), causing incorrect ownership when installed via dpkg
  • Wraps both make install and dpkg -b with fakeroot in the client and server deb build scripts

Closes #513

Without fakeroot, files in the .deb are created with the build
user's UID:GID instead of root:root (0:0), causing incorrect
ownership when installed via dpkg.

Closes Syncplay#513

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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 this pull request may close these issues.

Debian packages are not created with root privileges

1 participant