I don't know why, but on my ubuntu 16.04 laptop, udisksctl can work properly without root privilege. However, when I plug this disk to centos 7, the execution of same command needs root privilege and I get:

==== AUTHENTICATING FOR org.freedesktop.udisks2.filesystem-mount-other-seat ===
Authentication is required to mount Hitachi HTS542512K9SA00 (/dev/sdc1)
Authenticating as: root

I wonder why the same command executes differently on these two system, and how can I get rid of the privilege check?

  • Thanks your for your comment! It is my mistake that I didn't clear my question. – user3824053 May 21 '16 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.