[sane-devel] Setting up Canon Perfection USB scanner for use
in network: questions, problems
Nigel Ridley
nigel at rmk.co.il
Mon Jun 5 18:07:48 UTC 2006
James Tuttle wrote:
> I had a similar issue with a tape drive reverting its ownership and
> permissions after reboot.
>
> Although this probably isn't the "right way" to make it persistent, I
> just added the following lines to my /etc/init.d/bootmisc.sh script:
>
> ln -s /dev/nst0 /dev/tape
> chmod 777 /dev/tape
> ln -s /dev/sg0 /dev/changer
> chmod 777 /dev/changer
>
> I think you could do the same thing for changing the group on the USB
> devices as I did for the tape and generic SCSI device. The script runs
> (as root) during the bootup process, I think as one of the last things
> to be done.
I thought about doing something similar but the computer in question is
mostly always on - the problem arises when someone switches off the
[printer] scanner, then switches it back on again.
Perhaps a script somewhere in [X]sane to change the permissions/group
when [X]sane is started ??
>
> This is on Kubuntu Breezy, not sure how CentOS handles it.
>
> -James
>
>
>
> On Jun 5, 2006, at 10:47 AM, Nigel Ridley wrote:
>
>> This is only a temporary solution as it will revert back to root root
>> on either a reboot or if you restart the scanner - so I created a
>> 'Bookmark' in 'Konsole' so instead of having to retype it all again I
>> just click on the Bookmark and hit enter (then give my password).
>> You could create an alias instead though.
>>
>> If you find a better solution please post it :-)
>>
>> Blessings,
>>
>> Nigel
>
>
>
> ------------------------------------------------------------------------
>
> !DSPAM:44845376228552016049419!
Blessings,
Nigel
--
PrayingForIsrael.net
http://www.prayingforisrael.net/
Messianic E-Cards.com
http://www.messianicecards.com/
More information about the sane-devel
mailing list