Mount /var/cache/yum with right perms (thanks to Till Maas)

This commit is contained in:
Jeremy Katz 2008-10-09 21:02:44 -04:00
parent 37a74697b6
commit 01ae816a57
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ chkconfig --level 345 readahead_later off 2>/dev/null
# make it so that we don't do writing to the overlay for things which
# are just tmpdirs/caches
mount -t tmpfs varcacheyum /var/cache/yum
mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum
mount -t tmpfs tmp /tmp
mount -t tmpfs vartmp /var/tmp
[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1