Comments (6)
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.
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.
Updated the website.
from icestorm.
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.
Ahhhh... systemd stuff... good to have an explanation!
Thanks!
from icestorm.
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)
- enhancement request: Support the NVCM HOT 4
- Targetting 8k-tq144:4k but missing pins 65 and 66 which are bound to ICE_CDONE and ICE_CREST. HOT 2
- Not able to use both PLLs of iCE40-HX4K HOT 5
- enhancement request: Add git tags
- iceprog takes 165secs to program 111kB into UPduino with FT232H HOT 3
- RS-232 on ice40 UP5k
- Broken website URL HOT 1
- UP5K: embedded block RAM clock edge/polarity
- Errors when running post-synthesis simulation examples HOT 3
- Wrong spelling of 'documentation' in the GitHub description
- Installation on Ubuntu 22.04.1
- Add support for iCE65 devices? HOT 6
- icebram incompatible with new memory_libmap HOT 13
- 'initial begin' bit order vs assigning value on clock cycle HOT 2
- Lattice HX8K Breakout Board. Can not upload HOT 4
- Can't find ice FTDI usb device On Ubuntu 22.04
- Hacked Website HOT 4
- iceprog sram programming not consistent with Lattice application notes
- [SUGGESTION] Add support for Radiant-style names. HOT 1
- TPU? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icestorm.