ср, 13 нояб. 2024 г., 11:24 David C. Rankin via tde-users <users@trinitydesktop.org>:
On 11/6/24 7:56 AM, ajh-valmer via tde-users wrote:
> Hello,
>
> since a longtime, in this directory :
> /var/run/user/1000/
> I have this sub-directory "doc" :
> d????????? ? ?  ?  ?  ? doc
> Impossible to delete it.
> What it is and happens ?

Sorry Andre for the diversion,

   If you are still working on this, and you have run a fsck on the filesystem
and it's fine, then simply log in (or su) to root and fix the permissions on
the directory and file. I don't see the actual permission in the thread, but
as root, change the directory so it is read/write user and group readable,
e.g. minimum of 0750 and the same for the "doc" subdirectory.

   You likely do not need to change the permissions on /var/run/user/1000/,
just confirm owner is rwx (read, write, execute). For directories the 'x'
executable bit controls the "descend into" permission, so even if you have rw
permissions on that dir but no 'x', your "doc" subdir will still be borked.

   So I would approach it like:

(1) ls -al /var/run/user/1000/
     (confirm owner octet is rwx, if not chmod 0750 /var/run/user/1000/)

(2) ls -al /var/run/user/1000/doc
     (what are the permissions now if you changed the parent perms)

(3) chmod 0750 /var/run/user/1000/doc
     (repeat all the way down until you can read and verify all you need)

(4) if necessary, set the perms on doc to 0770 or 0777 temporarily.

   If you don't get it solve in this manner, then update your post with the
output of:

# ls -al /var/run/user
# ls -al /var/run/user/1000
# ls -al /var/run/user/1000/doc

   and we will go from there.

this 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






--
David C. Rankin, J.D.,P.E.
____________________________________________________
tde-users mailing list -- users@trinitydesktop.org
To unsubscribe send an email to users-leave@trinitydesktop.org
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydesktop.org