Find the answer to your Linux question:
Results 1 to 6 of 6
Hy everyone, I am pretty newbie in linux and lately I switched from mandrake 10.0 to fedora3. I must say I really like it. I got allt the things I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2004
    Posts
    3

    acces scanner and usb -stick as user

    Hy everyone,

    I am pretty newbie in linux and lately I switched from mandrake 10.0 to fedora3.
    I must say I really like it. I got allt the things I wanted/needed to work.
    Even gdesklets with the starterbar. ( really cool! )
    There's only one problem: I can only acces usb stuff as root.
    When I log in as root my usb-stick mounts and I can use my scanner.
    But only as root! I sepose it has something to do with my account/group/permittions.
    I tried to add some groups to my user account but that didn't help.
    Could somebody help me with this?

    Thanks............greetings Ben

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    To access your USB stick as a user, just add an entry for it in your /etc/fstab like such:

    Code:
    /dev/sda1               /mnt/usb        vfat            users,noauto,rw,exec,umask=002          0 0
    The important part is the 'users' option. It allows normal users to mount it via 'mount /mnt/usb'.

    As for your scanner, check out /etc/udev/permissions.d/50-udev.permissions. Look for your scanner device in there (whatever it shows up as in /dev) and change the group owner on it (second field) to a group that your user is in (or you can add a 'scanner' group for it and put him in). Also make sure the permissions on the device are 0660.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Feb 2004
    Posts
    3
    As for the scanner problem it sort of solved itself, after an update with up2date it suddenlly worked fine
    The usb stick is a bit weird, when I start the very first time, it mounts itself and everything works just fine. After I unmount it the fun is over .
    It,s not reconized anymore.
    I added the line in fstab like you said, but that didn't help, so I removed it again.
    When I go to the fstab file the first time the stick is mounted, there is an entry that looks like:
    dev/sda1 /media/NO_NAME vfat.
    After unmounting the line is gone until rebooting.
    Any suggestions ?

    Thanks for your reply, greetings Ben..............

  4. #4
    Just Joined!
    Join Date
    Jan 2005
    Posts
    2

    USB mounting ... fun?

    Ok first of all my comp is an OLD!!! HP Vectra P2 233 blah blah (parts)

    I'm adventuring into the fun of proxy servers, so I decided Linux with Squid ... and to start off slowly I got RH9 ... the n00b version basically. I then downloaded squid and put it on my thumbdrive ... yes this box has USB *boggle* and realized it probably wouldn't automount ... so onto the forums it is ... found your nice little bit of info thank you very much.

    Well, mounting worked like a charm, detected, found, saw everything in it ... and when I couldn't figure out how to do a quick link from the desktop to the thumbdrive ... I decided to just copy from one to the other. After I realized it would take a while I went off to do other things ... PS2 based ... and returned to a frozen mouse/machine and the lights on my keyboard kept flashing on/off.

    Any clues as to what could have gone on?

    Glad to meet you all and sorry for landing this on your doorstep.

    --ANTesocial

  5. #5
    Just Joined!
    Join Date
    Feb 2004
    Posts
    3
    The usbstick is working fine now too. Still don't know what precisely has changed now, I think it has something to do with some sort of a bootsector on the stick.
    What I did is first format the stick in fedora, which didn'd change a thing in it's weird behaviour. Then I formatted it on a windowsXP laptop.
    After that it just works fine and I can mount and unmount it time after time .
    I know it isn't realy a linux-minded solution but let's just say the purpose justifice the means

    Greetings Ben

  6. #6
    Just Joined!
    Join Date
    Jan 2005
    Posts
    2

    anyone home??

    does anyone have any input as to what may cause this?

    --ANTesocial

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •