Menu

Mount drive as user

2018-08-29
2018-08-29
  • mrneilypops

    mrneilypops - 2018-08-29

    Hi,
    Back with SpaceFM.
    Is it possible to set up udevil to mount drives as a user instead of requiring root permissions?

    I am working on a new version of my Debian 'distrolette' dwmX.
    https://sourceforge.net/projects/dwmx/
    I would like user 'live' to be able to mount/unmount drives without requiring a root password.
    I guess the config is udevil.conf.
    I would also like a 'user' after install of my distrolette to have the same rights...

    Thanks in advance for any feedback.

     

    Last edit: mrneilypops 2018-08-29
  • VastOne

    VastOne - 2018-08-29

    Edit the udevil configuration file /etc/udevil/udevil.conf

    and make sure in the section on:

    allowed_internal_devices causes udevil to treat any listed block devices as

    removable, thus allowing normal users to un/mount them (providing they are

    also listed in allowed_devices).

    Has this as the last line and that it is uncommented

    allowed_internal_devices = /dev/*

     
  • mrneilypops

    mrneilypops - 2018-08-29

    @VastOne
    PERFECT! problem solved.

    It is so cool that you replied.
    I was going to base the next dwmX on Debian Buster BUT...as I read in you thread;
    http://vsido.org/index.php?topic=1354.0
    I experienced the same live config delay of +/-12 minutes at the end of boot...WTF...
    Did you find a solution to this?
    Anyway, I am trying to build the next dwmX ISO on Devuan.
    I still pass by VSIDO from time to time...keep up the great work!

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB