From 5f55799d7941e7a209846f7c37b799251a276448 Mon Sep 17 00:00:00 2001 From: adilger <adilger> Date: Thu, 26 Jun 2008 21:49:41 +0000 Subject: [PATCH] Branch HEAD Remove write permissions of files in the lustre-source RPM to avoid any security risk. b=16180 i=brian i=terry --- lustre.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre.spec.in b/lustre.spec.in index 36f7d46309..4aa5a2ab87 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -124,6 +124,7 @@ mkdir -p $RPM_BUILD_ROOT/usr/src rm -f lustre-source ln -s $RPM_BUILD_ROOT/usr/src lustre-source make distdir distdir=lustre-source/lustre-%{version} +chmod -R go-w lustre-source/lustre-%{version} cat >lustre.files <<EOF %attr(-, root, root) /sbin/mount.lustre -- GitLab