Score:0

Why can't I ls a directory that I own and has the sticky bit set

dz flag

Suppose I have directory /home/john/dir/, that has the sticky bit set. I am running as user john and the directory dir is owner by user john and group john. Why can't I ls -la the directory? Shouldn't I be the one who does have all the rights to the directory?

in flag
What are the access settings of the directory? What does `ls -ld /home/john/dir` say?
Guido Goluke avatar
dz flag
I already removed the sticky bit, so am not in a position to execute `ls -ld` right now. Hm, I forgot to note down the octal access rights, good question. I already set them back to what is normal for the parent directory.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.