Friday 4 November 2011

Ubuntu: Daemon is inhibited

In the last few weeks, I've found myself wondering why nothing in the file manager and Disk Utility would work (i.e. for mounting drives). The error I was getting wasn't so helpful "Daemon is inhibited". A quick Google search revealed nothing very useful (other than killing all udisks which isn't really reasonable). In the end, the solution is way simpler: Close GParted.

Simply put, GParted runs as root and will call:
udisks --inhibit
Since Disk Utility does not run as root, when it tries to mount a partition for example, udisks will return an "Inhibited" error. You could run Disk Utility as root as well, however, mounting partitions will mount as root, which most likely isn't what you're looking for.

No comments:

Post a Comment