Dumb Question On Permissions Out Of The Box

Home » CentOS » Dumb Question On Permissions Out Of The Box
CentOS 3 Comments

Can someone explain to me the logic that I, as a user, cannot, by default, mount a DVD from the command line, but I can mount it via dolphin?

mark

3 thoughts on - Dumb Question On Permissions Out Of The Box

  • Dolphin (and consorts) call “udisks” via messagebus / udev protocoll, and thus get the permission / rights to do it without direct “root rights”

    You can do that manually fron the commandline via the “udisksctl” tool. See “man udisksctl” for details.

    – Yamaban.

    PS: No, the question was not dumb, that udev stuff fools me up from time to time to.

  • Yamaban wrote:
    dolphin?

    Right. And I’ve only been doing systems administration for, um, 21 years, so I’m not surprised I never heard of udiskctl, and only know mount (and, only recently, pmount).

    Thanks, guy. It’s just aggravating that I can’t say mount /dev/dvd0
    without jumping through hoops.

    mark “Ve Must Protect You From Using Command Line!”

  • No one is making the command line any harder to use than it used to be.
    You can still use the old methods to allow non-root users to mount devices. The developers are just adding new means that don’t require SUID binaries. I don’t think they should be faulted for making a new, user-friendly mechanism for a task without breaking the semantics of the old mechanisms.