I use xubuntu. When I plug in my usb, I can simply mount and open it by clicking on it's icon, but when i want to mount it from command line, it needs root permission.

Why? And how can I mount my usb (in command line) without root permission?

up vote 1 down vote accepted

Using udisksctl mount -b /dev/sdXY we can mount without root permission, just like what gui does.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.