You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The debian packages aren't built with root:root privileges. So by installing them with dpkg (or equivalent) the files are extracted and the UID and GID are set to 1001:123, which can be literally anything on the system.
To Reproduce
download any .deb installer package
install (e.g. dpkg -i syncplay_1.6.9.deb)
check file permissions with ls -l /usr/lib/syncplay or ls -l /usr/lib/syncplay-server
Expected behavior
Root ownership of the extracted files
Version and platform:
OS: Pop!_OS 21.10
Syncplay version and build type: 1.6.9
Additional context
The files seem to be created with runner:docker privileges.
Solution recommendation
The .deb packages could be built with fakeroot, where it is possible to easily set UID and GID to 0:0, which is always the systems root, and build the .deb package.
I've extracted and rebuilt the package with correct permissions and installed it successfully on my system. It's working without issues.
The text was updated successfully, but these errors were encountered:
Description
The debian packages aren't built with root:root privileges. So by installing them with dpkg (or equivalent) the files are extracted and the UID and GID are set to 1001:123, which can be literally anything on the system.
To Reproduce
Expected behavior
Root ownership of the extracted files
Version and platform:
Additional context
The files seem to be created with runner:docker privileges.
Solution recommendation
The .deb packages could be built with fakeroot, where it is possible to easily set UID and GID to 0:0, which is always the systems root, and build the .deb package.
I've extracted and rebuilt the package with correct permissions and installed it successfully on my system. It's working without issues.
The text was updated successfully, but these errors were encountered: