Re: A strange directory under /var/run/user/1000/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
David C. Rankin, J.D.,P.E.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx

[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux