Project

General

Profile

Actions

Bug #5301

closed

System Patches - fails to set permissions from a 'new file mode' line in a git diff

Added by David Wood over 8 years ago. Updated over 8 years ago.

Status:
Needs Patch
Priority:
Normal
Assignee:
-
Category:
System Patches
Target version:
-
Start date:
10/13/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

System Patches doesn't handle 'new file mode' lines in a git diff, for example:

diff --git a/usr/local/sbin/ppp-ipv6 b/usr/local/sbin/ppp-ipv6
new file mode 100755
index 0000000..a05a4c2
--- /dev/null
+++ b/usr/local/sbin/ppp-ipv6
@@ -0,0 +1,123 @@
[snipped]

A command line chmod 755 was required to make the new script executable.

Depending on your point of view, this is either a bug or a feature request.

Actions

Also available in: Atom PDF