From: Mark Huang Date: Thu, 1 Dec 2005 23:30:25 +0000 (+0000) Subject: - merge revision 1.2 X-Git-Tag: planetlab-3_2-rc6~1 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=refs%2Fheads%2Fplanetlab-3_2-branch - merge revision 1.2 date: 2005/12/01 23:30:03; author: mlhuang; state: Exp; lines: +3 -0 - Some temporary cdroot files like /var/empty/sshd and /usr/bin/sudo get created with non-readable permissions. --- diff --git a/bootcd.spec b/bootcd.spec index 45c4f84..577f6ba 100644 --- a/bootcd.spec +++ b/bootcd.spec @@ -48,6 +48,9 @@ popd # If run under sudo, allow user to delete the build directory if [ -n "$SUDO_USER" ] ; then chown -R $SUDO_USER . + # Some temporary cdroot files like /var/empty/sshd and + # /usr/bin/sudo get created with non-readable permissions. + find . -not -perm +0600 -exec chmod u+rw {} \; fi %clean