mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-15 13:46:36 +00:00
Packaged .deb loses file permissions on install #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CryoViking on GitHub (Sep 17, 2024).
View of source "Release" folder:

View of dest "Installed package":

How can I either fix this so that the files keep the same permissions when installed, (as well as specify ownship on the target system) or run a post install script to fix permissions, etc.
@atauenis commented on GitHub (Sep 17, 2024):
Set them via csproj:
LinuxPathis not required (it's need only to place the file somewhere outside package install directory).@CryoViking commented on GitHub (Sep 17, 2024):
that's what I did for the service files yes, this is for files inside the install directory, the actual DLL's and executable etc.