Giter VIP home page Giter VIP logo

Comments (6)

 avatar commented on August 15, 2024 1

The good Debian.
I can comment this: From the Security Implications of System Groups:

To manage removable drives without root privileges, you have to use the groups cdrom for optical drives. Optical drives can usually be mounted in according to the rules in /etc/fstab, but for other removable drives the group plugdev may be more practical.

And as in the both udev rules, the last one contains the group membership correctly, so for this reason you're able to use udev/pmount without root privileges.

Something you can check is what groups your user belongs to, and if you add yourself to plugdev (I'll probably will not do that if this is a multi user - critical server) you should be able to stick in the original udev rule (the first one you showed).

Source:
https://wiki.debian.org/SystemGroups

from icestorm.

ArcaneNibble avatar ArcaneNibble commented on August 15, 2024 1

Heh, azonenberg/openfpga had this same issue. According to @cyrozap,

`TAG+="uaccess"` is for systemd compatibility and `MODE="660", GROUP="plugdev"` is for non-systemd systems. This is the same pattern OpenOCD uses for its udev rules.

So the proposed change to the FAQ should be correct.

from icestorm.

cliffordwolf avatar cliffordwolf commented on August 15, 2024 1

Updated the website.

from icestorm.

drawkula avatar drawkula commented on August 15, 2024

Without TAG+="uaccess" I could not use a group based UDEV rule despite being in the right group and the MODE:="0666" way to allow access for everyone did not work too.

TAG+="uaccess" seems to be what makes the difference...

from icestorm.

drawkula avatar drawkula commented on August 15, 2024

Ahhhh... systemd stuff... good to have an explanation!
Thanks!

from icestorm.

eddyb avatar eddyb commented on August 15, 2024

I feel kinda dumb after actually reading the line, as it clearly says GROUP="plugdev", but maybe it'd be helpful to explicitly say next to it that you also need to be in the plugdev group for this to apply?

from icestorm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.