Stop logging into Xwindows as root. instead, login as yourself, open a terminal, and run this:
su - It will ask for root password. if you give it correctly, you now have a shell open as root. in that shell, run this: chown chris. /dev/sg0 (this assumes that 'chris' is your login.) Note the '.' after chris. This changes the owner and group. Now exit the root shell: exit and exit the 'chris' shell if you don't need it any more. exit However, all of this is a stop-gap for actually fixing the problem. Your system should be capable of managing these permissions automatically. What OS is this? allan On Thu, May 19, 2011 at 8:51 AM, Chris <esky64 at tpg.com.au> wrote: > What am I doing wrong :( > I'm loging on as root user > Places/home the I keep clicking back to get the DEV folder I find sg0 which > is my scanner I click on properties. I have changed both owener and group to > chris restarted the computer > Login as chris and the owner and group are back to root > WHY > What am I doing wrong > why will they not sat as chris > PS. when I am root user my scanner works but I don't wish to boot as root > every time I wish to scan something > > > On 12/05/11 22:37, Chris wrote: >> >> Can you tell me what I do next >> Chris >> On 10/05/11 20:22, m. allan noah wrote: >>> >>> The scanner works as root, but not as a regular user. So we need to >>> adjust the permissions of the device. >>> >>> The mechanism to do this differs somewhat between linux distros. >>> Generally, we will be editing udev (/etc/udev/rules.d) or hal >>> (/usr/share/hal/fdi/) rules. Or, perhaps some other mechanism. :( >>> >>> allan >>> >>> On Tue, May 10, 2011 at 3:36 AM, Chris<esky64 at tpg.com.au> wrote: >>>> >>>> sudo scanimage -L >>>> device `canon:/dev/sg0' is a CANON IX-12015E flatbed scanner >>>> >>>> On 10/05/11 01:16, m. allan noah wrote: >>>>> >>>>> run the following, as root: >>>>> >>>>> scanimage -L >>>>> >>>>> if your scanner is not listed, run the following as root: >>>>> >>>>> SANE_DEBUG_CANON=255 scanimage -L 2>canon.log >>>>> >>>>> This will produce a 'canon.log' file in the current directory. Please >>>>> send that file to the list, compressed if it is larger than 100 KB. >>>>> >>>>> allan >>>>> >>>>> On Mon, May 9, 2011 at 8:53 AM, Chris<esky64 at tpg.com.au> wrote: >>>>>> >>>>>> Have changed the continence of the file and still can't get the >>>>>> printer >>>>>> working any more help please >>>>>> >>>>>> On 04/05/11 23:00, m. allan noah wrote: >>>>>>> >>>>>>> All system files are owned by root. use sudo, or switch to root >>>>>>> account. >>>>>>> >>>>>>> allan >>>>>>> >>>>>>> On Wed, May 4, 2011 at 8:53 AM, Chris<esky64 at tpg.com.au> wrote: >>>>>>>> >>>>>>>> Thanks Allan >>>>>>>> Can I ask how I edit the file I get access denied >>>>>>>> >>>>>>>> On 04/05/11 22:28, m. allan noah wrote: >>>>>>>>> >>>>>>>>> Erase all that stuff, and put this instead: >>>>>>>>> >>>>>>>>> scsi CANON IX >>>>>>>>> >>>>>>>>> allan >>>>>>>>> >>>>>>>>> On Wed, May 4, 2011 at 8:00 AM, Chris<esky64 at tpg.com.au> wrote: >>>>>>>>>> >>>>>>>>>> hi Allan >>>>>>>>>> the contents of canon.conf >>>>>>>>>> #canon.conf >>>>>>>>>> /dev/scanner >>>>>>>>>> #/dev/sg0 >>>>>>>>>> >>>>>>>>>> On 04/05/11 20:50, m. allan noah wrote: >>>>>>>>>>> >>>>>>>>>>> what are the contents of /etc/sane.d/canon.conf? >>>>>>>>>>> >>>>>>>>>>> allan >>>>>>>>>>> >>>>>>>>>>> On Mon, May 2, 2011 at 2:53 AM, Chris<esky64 at tpg.com.au> >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> Hi Trying to get my scanner working but not sure where to go >>>>>>>>>>>> next >>>>>>>>>>>> >>>>>>>>>>>> chris at chris-desktop:~$ sudo scanimage -L >>>>>>>>>>>> [sudo] password for chris: >>>>>>>>>>>> >>>>>>>>>>>> No scanners were identified. If you were expecting something >>>>>>>>>>>> different, >>>>>>>>>>>> check that the scanner is plugged in, turned on and detected >>>>>>>>>>>> by the >>>>>>>>>>>> sane-find-scanner tool (if appropriate). Please read the >>>>>>>>>>>> documentation >>>>>>>>>>>> which came with this software (README, FAQ, manpages). >>>>>>>>>>>> chris at chris-desktop:~$ ^C >>>>>>>>>>>> chris at chris-desktop:~$ sane-find-scanner >>>>>>>>>>>> >>>>>>>>>>>> # sane-find-scanner will now attempt to detect your scanner. >>>>>>>>>>>> If the >>>>>>>>>>>> # result is different from what you expected, first make sure >>>>>>>>>>>> your >>>>>>>>>>>> # scanner is powered up and properly connected to your computer. >>>>>>>>>>>> >>>>>>>>>>>> found SCSI scanner "CANON IX-12015E 1.07" at /dev/sg0 >>>>>>>>>>>> # Your SCSI scanner was detected. It may or may not be >>>>>>>>>>>> supported by >>>>>>>>>>>> SANE. >>>>>>>>>>>> Try >>>>>>>>>>>> # scanimage -L and read the backend's manpage. >>>>>>>>>>>> >>>>>>>>>>>> # No USB scanners found. If you expected something different, >>>>>>>>>>>> make >>>>>>>>>>>> sure >>>>>>>>>>>> that >>>>>>>>>>>> # you have loaded a kernel driver for your USB host >>>>>>>>>>>> controller and >>>>>>>>>>>> have >>>>>>>>>>>> setup >>>>>>>>>>>> # the USB system correctly. See man sane-usb for details. >>>>>>>>>>>> >>>>>>>>>>>> # Not checking for parallel port scanners. >>>>>>>>>>>> >>>>>>>>>>>> # Most Scanners connected to the parallel port or other >>>>>>>>>>>> proprietary >>>>>>>>>>>> ports >>>>>>>>>>>> # can't be detected by this program. >>>>>>>>>>>> >>>>>>>>>>>> # You may want to run this program as root to find all devices. >>>>>>>>>>>> Once >>>>>>>>>>>> you >>>>>>>>>>>> # found the scanner devices, be sure to adjust access >>>>>>>>>>>> permissions >>>>>>>>>>>> as >>>>>>>>>>>> # necessary. >>>>>>>>>>>> >>>> >>>> >>>> -- >>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org >>>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >>>> Unsubscribe: Send mail with subject "unsubscribe your_password" >>>> to sane-devel-request at lists.alioth.debian.org >>>> >>> >>> >>> >> >> >> >> -- >> sane-devel mailing list: sane-devel at lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to sane-devel-request at lists.alioth.debian.org >> > > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ?to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"