diff --git a/postplug.d/10filesystems b/postplug.d/10filesystems index 16b5267..e7080db 100644 --- a/postplug.d/10filesystems +++ b/postplug.d/10filesystems @@ -3,7 +3,7 @@ # filesystems - filesystems plugin for postplug # Copyright (c) 2004-2007 by Davide Madrisan # Copyright (c) 2007 by Stefano Cotta Ramusino -# Copyright (c) 2009 by Silvan Calarco +# Copyright (c) 2009-2011 by Silvan Calarco if [ $UID != 0 ]; then echo "$0: must be superuser." >&2 @@ -155,7 +155,7 @@ if [ "$FS_VFS_UPDATE" != no ]; then # probe for USB if the entry were not present in /etc/fstab if [ -d /proc/bus/usb ]; then grep -q "/proc/bus/usb" $fstab 2>/dev/null || - { echo "usbfs /proc/bus/usb usbfs defaults 0 0" >> $fstab + { echo "usbfs /proc/bus/usb usbfs devgid=30,devmode=664 0 0" >> $fstab logmsg "$me" $"added an entry for \`usbfs' in $fstab" mount /proc/bus/usb &>/dev/null; } fi