Open the floppy or USB device without root user

Discussion in 'General Computing' started by othiyappank, Jul 31, 2012.

  1. othiyappank

    othiyappank New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi ALL,

    Im facing the problem such that logged in linux flavuour as Non-root users.
    Using the program utility im opening the flopy device or USB key device such that /dev/sd0 using the raw device open call.Im not able to open the device.if i put the sudo and then i tried its working.
    please suggest the solution to fix the Issue.

    Thanks,
    Othi

  2. pane-free

    pane-free Active Member

    Messages:
    357
    Likes Received:
    83
    Trophy Points:
    28
    Try reaching them via /media or /mnt while they're plugged into mobo using your file manager
  3. Kerms

    Kerms New Member

    Messages:
    59
    Likes Received:
    12
    Trophy Points:
    0
    To do it without actually getting into root mode, you need some type of advanced group permission system. The infamously hated PolicyKit does this.
    However, in the end, the job is always done via root--directly or indirectly.

    I won't walk you through a permission layer setup, but generally it's done something like this as root:
    mount /dev/sd0 /mnt

    This mounts the device as /mnt, where you can read the files on the device.

Share This Page