diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-26 22:14:47 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-26 22:14:47 -0500 |
commit | 084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33 (patch) | |
tree | 6ff23af38ad44ff7557ea9bea02efce4bc4c87c4 /libre/filesystem | |
parent | 26af2632a5b31ae948e3d5b453c4a22dd64c6bb6 (diff) | |
download | abslibre-084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33.tar.gz abslibre-084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33.tar.bz2 abslibre-084d0a37c8d0f1a991ce22ccc6d8c3dd8ca12a33.zip |
(scripted) fix file permission breakage introduced in commit d62bd1
I did this with this command:
git diff d62bd1^..d62bd1 | egrep '^old mode ' -C1 \
| tr '\n' ' ' | sed 's/diff --git/\n&/g' \
| sed -r 's|^diff --git a/([^ ]*) b/([^ ]*) old mode 100([0-9]*) new mode 100([0-9]*)|chmod \3 ./\1|' \
| bash
The first line finds all of the file-permission changes in the commit.
The second line squashes some newlines to get one line per file. This line
is in the format:
diff --git a/FILE b/FILE old mode OLDMODE new mode NEWMODE
The third line extracts the values from those lines and transforms the line
into:
chmod FILE ./OLDMODE
The fourth line (obviously) just executes the output.
Diffstat (limited to 'libre/filesystem')
20 files changed, 0 insertions, 0 deletions
diff --git a/libre/filesystem/PKGBUILD b/libre/filesystem/PKGBUILD index fb422594c..fb422594c 100755..100644 --- a/libre/filesystem/PKGBUILD +++ b/libre/filesystem/PKGBUILD diff --git a/libre/filesystem/crypttab b/libre/filesystem/crypttab index 195945a74..195945a74 100755..100644 --- a/libre/filesystem/crypttab +++ b/libre/filesystem/crypttab diff --git a/libre/filesystem/filesystem.install b/libre/filesystem/filesystem.install index 12e59b01b..12e59b01b 100755..100644 --- a/libre/filesystem/filesystem.install +++ b/libre/filesystem/filesystem.install diff --git a/libre/filesystem/fstab b/libre/filesystem/fstab index b6716c14a..b6716c14a 100755..100644 --- a/libre/filesystem/fstab +++ b/libre/filesystem/fstab diff --git a/libre/filesystem/group b/libre/filesystem/group index 3e6645c83..3e6645c83 100755..100644 --- a/libre/filesystem/group +++ b/libre/filesystem/group diff --git a/libre/filesystem/gshadow b/libre/filesystem/gshadow index 253f35838..253f35838 100755..100644 --- a/libre/filesystem/gshadow +++ b/libre/filesystem/gshadow diff --git a/libre/filesystem/host.conf b/libre/filesystem/host.conf index cf52fe561..cf52fe561 100755..100644 --- a/libre/filesystem/host.conf +++ b/libre/filesystem/host.conf diff --git a/libre/filesystem/hosts b/libre/filesystem/hosts index 1747f9196..1747f9196 100755..100644 --- a/libre/filesystem/hosts +++ b/libre/filesystem/hosts diff --git a/libre/filesystem/issue b/libre/filesystem/issue index b001c55dd..b001c55dd 100755..100644 --- a/libre/filesystem/issue +++ b/libre/filesystem/issue diff --git a/libre/filesystem/ld.so.conf b/libre/filesystem/ld.so.conf index dfac45683..dfac45683 100755..100644 --- a/libre/filesystem/ld.so.conf +++ b/libre/filesystem/ld.so.conf diff --git a/libre/filesystem/modprobe.d.usb-load-ehci-first b/libre/filesystem/modprobe.d.usb-load-ehci-first index 947379411..947379411 100755..100644 --- a/libre/filesystem/modprobe.d.usb-load-ehci-first +++ b/libre/filesystem/modprobe.d.usb-load-ehci-first diff --git a/libre/filesystem/motd b/libre/filesystem/motd index e69de29bb..e69de29bb 100755..100644 --- a/libre/filesystem/motd +++ b/libre/filesystem/motd diff --git a/libre/filesystem/nsswitch.conf b/libre/filesystem/nsswitch.conf index 4a4f5770d..4a4f5770d 100755..100644 --- a/libre/filesystem/nsswitch.conf +++ b/libre/filesystem/nsswitch.conf diff --git a/libre/filesystem/os-release b/libre/filesystem/os-release index fe5f20b4f..fe5f20b4f 100755..100644 --- a/libre/filesystem/os-release +++ b/libre/filesystem/os-release diff --git a/libre/filesystem/passwd b/libre/filesystem/passwd index 671fc486e..671fc486e 100755..100644 --- a/libre/filesystem/passwd +++ b/libre/filesystem/passwd diff --git a/libre/filesystem/profile b/libre/filesystem/profile index 3bc22db9f..3bc22db9f 100755..100644 --- a/libre/filesystem/profile +++ b/libre/filesystem/profile diff --git a/libre/filesystem/resolv.conf b/libre/filesystem/resolv.conf index cecafba03..cecafba03 100755..100644 --- a/libre/filesystem/resolv.conf +++ b/libre/filesystem/resolv.conf diff --git a/libre/filesystem/securetty b/libre/filesystem/securetty index 5a2235ce7..5a2235ce7 100755..100644 --- a/libre/filesystem/securetty +++ b/libre/filesystem/securetty diff --git a/libre/filesystem/shadow b/libre/filesystem/shadow index 39ebb13c7..39ebb13c7 100755..100644 --- a/libre/filesystem/shadow +++ b/libre/filesystem/shadow diff --git a/libre/filesystem/shells b/libre/filesystem/shells index 18c1aeffa..18c1aeffa 100755..100644 --- a/libre/filesystem/shells +++ b/libre/filesystem/shells |