From 303a089a8e3402d3d38e8d0b2b424c2ee93e06e7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 25 Jul 2007 20:15:38 +0000 Subject: attempt to remove executable permission, part 3 --- Functions/Misc/harden | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Functions/Misc/harden (limited to 'Functions/Misc/harden') diff --git a/Functions/Misc/harden b/Functions/Misc/harden new file mode 100644 index 000000000..0058382b3 --- /dev/null +++ b/Functions/Misc/harden @@ -0,0 +1,6 @@ +#!/bin/sh +# harden a link (convert it to a singly linked file) +cp $1 $1.foo +rm $1 +mv $1.foo $1 + -- cgit 1.4.1