summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
53d1105)
/usr/bin/sudo get created with non-readable permissions.
# If run under sudo, allow user to delete the build directory
if [ -n "$SUDO_USER" ] ; then
chown -R $SUDO_USER .
# 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 {} \;