Setuid/setgid/sticky permissions are ignored #59

Open
opened 2026-01-29 16:28:22 +00:00 by claunia · 1 comment
Owner

Originally created by @claunia on GitHub (Jun 26, 2019).

Example
Well for me it's failing also..

  <ItemGroup Condition="$(RuntimeIdentifier.StartsWith('linux')) == false">
    <None Include="../xxxxx-binaries/binary" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="4755"/>
    <None Include="../xxxxx-binaries/lib/*" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="0755" Link="lib\%(Filename)%(Extension)"/>
    <None Include="../xxxxxx-binaries/lib/engines/*" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="0755" Link="lib\engines\%(Filename)%(Extension)"/>
  </ItemGroup>

binary gets 0755 permissions, both on deb and rpm packages.

Originally created by @claunia on GitHub (Jun 26, 2019). Example Well for me it's failing also.. ```xml <ItemGroup Condition="$(RuntimeIdentifier.StartsWith('linux')) == false"> <None Include="../xxxxx-binaries/binary" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="4755"/> <None Include="../xxxxx-binaries/lib/*" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="0755" Link="lib\%(Filename)%(Extension)"/> <None Include="../xxxxxx-binaries/lib/engines/*" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="0755" Link="lib\engines\%(Filename)%(Extension)"/> </ItemGroup> ``` `binary` gets 0755 permissions, both on deb and rpm packages.
claunia added the pending-validation label 2026-01-29 16:28:22 +00:00
Author
Owner

@qmfrederik commented on GitHub (Dec 5, 2019):

@claunia I'm fairly sure this was fixed with #138, as that contains a unit test with LinuxFileMode set to 1755 and it works fine.

Could you give this another try with the latest version (0.1.150 or later)?

@qmfrederik commented on GitHub (Dec 5, 2019): @claunia I'm fairly sure this was fixed with #138, as that contains a unit test with `LinuxFileMode` set to `1755` and it works fine. Could you give this another try with the latest version (0.1.150 or later)?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#59