The one and only "permission denied" in find /sys
From: Rob Landley
Date: Wed Oct 13 2021 - 16:12:32 EST
There is exactly one directory in the whole of sysfs that a normal user can't
read (at least on my stock devuan laptop):
$ find /sys -name potato
find: ‘/sys/fs/pstore’: Permission denied
It's the "pstore" filesystem, it was explicitly broken by commit d7caa33687ce,
and the commit seems to say this was to fix an issue that didn't exist yet but
might someday.
Did whatever issue it was concerned about ever actually start happening? Why did
you not change the permissions on the files _in_ the directory so they weren't
world readable instead? Should /dev/shm stop being world ls-able as well?
Confused,
Rob