git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e815ab3
)
- Some temporary cdroot files like /var/empty/sshd and
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 1 Dec 2005 23:30:03 +0000
(23:30 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 1 Dec 2005 23:30:03 +0000
(23:30 +0000)
/usr/bin/sudo get created with non-readable permissions.
bootcd.spec
patch
|
blob
|
history
diff --git
a/bootcd.spec
b/bootcd.spec
index
45c4f84
..
577f6ba
100644
(file)
--- 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