On 11/13/24 2:34 AM, Andrew Randrianasulu via tde-users wrote:
his stackexchange answer says those directories
created by pam/systemd (and in
my Slackware case elogin?)
https://unix.stackexchange.com/questions/162900/what-is-this-folder-run-
user-1000 <https://unix.stackexchange.com/questions/162900/what-is-this-
folder-run-user-1000>
Oh, no doubt Andre didn't create them, but my intent is to get those
directories/files readable regardless who/what created them. It's just inodes,
so where it happening to me, I would want to investigate the ownership and
permissions, etc.. You can get further detailed information with the stat
command after can read whatever is there, e.g.
# stat /var/run/user/1000/doc
# for fn in /var/run/user/1000/doc/*; do
printf "\n%s\n\n" "$fn"
stat "$fn"
done; unset fn
(you may want to check there aren't a million files first with 'find
/var/run/user/1000/doc | wc -l')
--
David C. Rankin, J.D.,P.E.