Add suid,dev to unionfs mount opts

cleanup-cruft
Andrew Gaffney 16 years ago
parent 692db1a447
commit 469be61e0c

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2
13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
Add suid,dev to unionfs mount opts
13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
Remove allow_root mount opt, since it conflicts with allow_other

@ -1011,7 +1011,7 @@ setup_unionfs() {
mkdir -p ${UNION}
mkdir -p $CHANGES
# mount -t unionfs -o dirs=$CHANGES=rw unionfs ${UNION}
unionfs -o allow_other,cow,noinitgroups ${rw_dir}=RW:${ro_dir} ${UNION}
unionfs -o allow_other,cow,noinitgroups,suid,dev ${rw_dir}=RW:${ro_dir} ${UNION}
ret=$?
if [ "${ret}" -ne 0 ]
then

Loading…
Cancel
Save