Vinay S Shastry wrote:
> On Thursday 31 May 2007 4:24:58 am Richard Terry wrote:
>
>> Thanks, I"m trying the -bin version.
>>
>> I did RTFM but being only semi-literate in IT though it described where the
>> usbfs etc where in debian etc, I couldn't figure it out for arch, and
>> similarly, couldn;t interpret the posts on the forum in an intelligible
>> way!
>>
>> Often those posting 'solutions' do so in a broad sweeping statement such as
>> 'fixed my fstab' and now it works, but don't include the line in the fstab
>> that one really need to know.
>>
>
> Just FYI, I have the following line in rc.local. I know its a bad idea, but
> it
> allows users to write to usb devices without being in the root group. You
> could do it the right way, probably by creating a usb group and using that
> gid for this.. but hey.. I'm lazy and this works ;-)
>
> mount -o remount,devmode=666 /proc/bus/usb
>
>
>
I have this line in /etc/fstab
none /proc/bus/usb usbfs devgid=46,devmode=666 0 0
and somewhere in /etc/udev/rules.d/udev.rules I have this line
SUBSYSTEM=="usb_device", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#usbdev};printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'",
NAME="%c", MODE="0666"
IIRC was MODE="0664" before.
I found these settings from googling in forums. I don't know if these
changes are wise but they work.
__________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://mail.yahoo.gr
_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch