mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 21:32:52 +00:00
[PR #42] [MERGED] Allow users to override the Linux file mode of files #192
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?
📋 Pull Request Information
Original PR: https://github.com/quamotion/dotnet-packaging/pull/42
Author: @qmfrederik
Created: 10/24/2017
Status: ✅ Merged
Merged: 10/25/2017
Merged by: @qmfrederik
Base:
master← Head:fixes/custom-file-mode📝 Commits (1)
2168e1eAllow users to override the Linux file mode of files📊 Changes
6 files changed (+153 additions, -3 deletions)
View changed files
➕
Packaging.Targets.Tests/ArchiveBuilderTests.cs(+103 -0)📝
Packaging.Targets.Tests/Packaging.Targets.Tests.csproj(+15 -2)➕
Packaging.Targets.Tests/archive/README.md(+1 -0)➕
Packaging.Targets.Tests/archive/script.sh(+3 -0)📝
Packaging.Targets/ArchiveBuilder.cs(+17 -1)📝
Packaging.Targets/TaskItemExtensions.cs(+14 -0)📄 Description
This PR allows you to add a new attribute to files, the
LinuxFileModeattribute, which you can use to set the file mode of the file on Linux file systems in octal notation.For example, to give root root
rwxand othersrxpermissions, you can specifyLinuxFileMode="755"in your.csprojfile.Fixes #31
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.