Open the floppy or USB device without root user

O

othiyappank

Guest
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
 


P

pane-free

Guest
Try reaching them via /media or /mnt while they're plugged into mobo using your file manager
 
K

Kerms

Guest
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.
 


Members online


Latest posts

Top