What is the correct solution to this problem?
journalctl -p 4 -b -1 --no-hostname --no-pager
org_kde_powerdevil[1109]: [ 1265] Device /dev/i2c-3 lacks R/W permissions
org_kde_powerdevil[1109]: [ 1265] Device /dev/i2c-4 lacks R/W permissions
org_kde_powerdevil[1109]: [ 1265] Device /dev/i2c-5 lacks R/W permissions
org_kde_powerdevil[1109]: [ 1265] Device /dev/i2c-6 lacks R/W permissions
org_kde_powerdevil[1109]: [ 1265] Device /dev/i2c-7 lacks R/W permissions
org_kde_powerdevil[1109]: [ 1265] Device /dev/i2c-8 lacks R/W permissions
org_kde_powerdevil[1109]: [ 1265] Device /dev/i2c-9 lacks R/W permissions
ls -ls /dev/i2c*  ✔
0 crw-rw---- 1 root i2c 89, 0 29. Nov 01:50 /dev/i2c-0
0 crw-rw---- 1 root i2c 89, 1 29. Nov 01:50 /dev/i2c-1
0 crw-rw---- 1 root i2c 89, 10 29. Nov 01:50 /dev/i2c-10
0 crw-rw---- 1 root i2c 89, 2 29. Nov 01:50 /dev/i2c-2
0 crw-rw----+ 1 root i2c 89, 3 29. Nov 01:50 /dev/i2c-3
0 crw-rw----+ 1 root i2c 89, 4 29. Nov 01:50 /dev/i2c-4
0 crw-rw----+ 1 root i2c 89, 5 29. Nov 01:50 /dev/i2c-5
0 crw-rw----+ 1 root i2c 89, 6 29. Nov 01:50 /dev/i2c-6
0 crw-rw----+ 1 root i2c 89, 7 29. Nov 01:50 /dev/i2c-7
0 crw-rw----+ 1 root i2c 89, 8 29. Nov 01:50 /dev/i2c-8
0 crw-rw----+ 1 root i2c 89, 9 29. Nov 01:50 /dev/i2c-9
Hmm - these are some entries in the log.
You checked and they are, of course, correct - as far as permissions for everyone (others) go.
(there are rw permissions for user and group)
On my system (Mint) , there are only rw permissions for user - none for group and others
But:
What is the actual problem?
I don’t have any problems, I mean the PC.
I looked at the entries that are added during shutdown. There are quite a few.
First, I found this, but I don’t know how up-to-date or relevant it is for us
opened 03:45AM - 12 Aug 22 UTC
Enhancement
### Creating a bug report/issue
#### Required Information
- DietPi version |… 8.6.1
- Distro version | bullseye
- Kernel version | `Linux DietPi 5.10.123-meson64 #22.05.3 SMP PREEMPT Wed Jun 22 07:23:04 UTC 2022 aarch64 GNU/Linux`
- SBC model | N2 (aarch64) (N2+ 4GB)
- Power supply used | ALLPOWER 15VDC/4A
- SD card used | 32GB Kingston CANVAS Select Plus MicroSD 100MB/s A1
#### Additional Information (if applicable)
- Software title | DietPi
- Was the software title installed freshly or updated/migrated? Freshly installed and up to date as of this issue
- Can this issue be replicated on a fresh installation of DietPi? Yes
- Bug report ID | N/A
#### Steps to reproduce
1. `ls -ls /dev/i2c*`
2. id
#### Expected behaviour
0 crw------- 1 root spi 89, 0 Jul 23 21:14 /dev/i2c-0
0 crw------- 1 root spi 89, 1 Jul 23 21:14 /dev/i2c-1
0 crw------- 1 root spi 89, 2 Jul 23 21:14 /dev/i2c-2
.
#### Actual behaviour
0 crw------- 1 root root 89, 0 Jul 23 21:14 /dev/i2c-0
0 crw------- 1 root root 89, 1 Jul 23 21:14 /dev/i2c-1
0 crw------- 1 root root 89, 2 Jul 23 21:14 /dev/i2c-2
uid=1001(sbc) gid=1001(sbc) groups=1001(sbc)
#### Extra details
- Due to current dietpi /dev/ic2* group of root that already on system that already has spi group defined non-root user has to use root privileges at command line for i2cdetect and I2C applications to access I2C bus. By default no root privileges are required to access I2C bus with Raspberry Pi OS. root access should not be required by non-root user for the many many I2C devices commonly used with SBCs. It is a serious security issue and concern requiring non-root user to access the /dev/i2c* bus with root privileges.
Olli
29 November 2025 17:22
4
weingeist:
relevant it is for us
don’t worry, the i2c-bus is a bus for controlling internal silicon like the usb-controller etc. . you need root-privileges to access them and this is to prevent that “ordinary” processes can manipulate them by malware.
2 Likes
But you asked for a solution to a problem.
The permissions might actually be “too open” rather than too restrictive
(per your first link).
Teo
29 November 2025 17:31
6
Leave it as is. Writing something wrong there can burn something, that is why writing is disabled by default. Some softwares for clocking or temperature monitoring explicitly warn for the risk and by default ignore them.
system
Closed
2 December 2025 17:31
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.