Only root can mount /dev/sdb1...

The other day, I tried to put openSUSE on a USB stick. In the process, I had to write:

mount /dev/sdb1 /media/usb

as root. The problem now is that everytime I try to mount it using my normal account, I get the error:

mount: only root can mount /dev/sdb1 on /media/usb

What Can I do to fix the permissions?

Is there a problem typing the sudo prefix before your mount command?

If you dont want to use sudo before the command then edit the 4th column in /etc/fstab to include “user”. After that any user can mount the USB stick.

usbfs /proc/bus/usb usbfs noauto,user 0 0

Or if you want only a particular user to have mount and un-mount permissions then edit /etc/fstab to look like

usbfs /proc/bus/usb usbfs noauto.uid=<UID_USER> 0 0
where UID_USER is the UID of the particular user.

  • Thejaswi Raya