[PR #138] [MERGED] Fix deb/rpm generation with Content file outside project root, file permissions #258

Closed
opened 2026-01-29 16:31:39 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/quamotion/dotnet-packaging/pull/138
Author: @qmfrederik
Created: 12/4/2019
Status: Merged
Merged: 12/5/2019
Merged by: @qmfrederik

Base: masterHead: fixes/path-outside-root


📝 Commits (3)

  • b2e71c3 Add test for Content file which is located outside the project root
  • b8f51e9 Include sticky bit in test
  • bcc79ed ArchiveBuilder: Always set file mode to S_IFREG

📊 Changes

7 files changed (+43 additions, -3 deletions)

View changed files

📝 Packaging.Targets.Tests/ArchiveBuilderTests.cs (+1 -1)
📝 Packaging.Targets/ArchiveBuilder.cs (+14 -2)
📝 Packaging.Targets/IO/LinuxFileMode.cs (+5 -0)
📝 molecule/framework-dependent/framework-dependent-app/framework-dependent-app.csproj (+6 -0)
📝 molecule/framework-dependent/molecule/default/tests/test_default.py (+5 -0)
📝 molecule/self-contained/molecule/default/tests/test_default.py (+5 -0)
📝 molecule/self-contained/self-contained-app/self-contained-app.csproj (+7 -0)

📄 Description

Fixes #108


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/quamotion/dotnet-packaging/pull/138 **Author:** [@qmfrederik](https://github.com/qmfrederik) **Created:** 12/4/2019 **Status:** ✅ Merged **Merged:** 12/5/2019 **Merged by:** [@qmfrederik](https://github.com/qmfrederik) **Base:** `master` ← **Head:** `fixes/path-outside-root` --- ### 📝 Commits (3) - [`b2e71c3`](https://github.com/quamotion/dotnet-packaging/commit/b2e71c32ff3297e501e4ecdba248d8fc31523cac) Add test for Content file which is located outside the project root - [`b8f51e9`](https://github.com/quamotion/dotnet-packaging/commit/b8f51e9354281d4a8d906bf3044b8cc7a689661d) Include sticky bit in test - [`bcc79ed`](https://github.com/quamotion/dotnet-packaging/commit/bcc79edae1ab80b3725060dcbd4d75cbc9354de2) ArchiveBuilder: Always set file mode to S_IFREG ### 📊 Changes **7 files changed** (+43 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `Packaging.Targets.Tests/ArchiveBuilderTests.cs` (+1 -1) 📝 `Packaging.Targets/ArchiveBuilder.cs` (+14 -2) 📝 `Packaging.Targets/IO/LinuxFileMode.cs` (+5 -0) 📝 `molecule/framework-dependent/framework-dependent-app/framework-dependent-app.csproj` (+6 -0) 📝 `molecule/framework-dependent/molecule/default/tests/test_default.py` (+5 -0) 📝 `molecule/self-contained/molecule/default/tests/test_default.py` (+5 -0) 📝 `molecule/self-contained/self-contained-app/self-contained-app.csproj` (+7 -0) </details> ### 📄 Description - Non-regression test for https://github.com/qmfrederik/dotnet-packaging/issues/60#issuecomment-505895106 - Fixes an issue where the file type would not be set to `S_IFREG` when custom file permissions are set using `LinuxFileMode`. Fixes #108 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:31:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#258