Score:0

What are directory permission conventions?

in flag

Running command ls -l / shows permissions of directories on my server.

I noticed that most directories are set to 755 or rwxr-xr-x, link bin and directories lib, lib32, lib64, libx32 are set to 777 or rwxrwxrwx.

/tmp uses a sticky bit but others don't. Are the other permissions a security risk? What are conventions regarding these permissions?

pLumo avatar
in flag
The links are 777, but the underlying directories are 755 as well --> No security risk
WillyKeurig avatar
in flag
@pLumo Thank you. Could you explain what the function of write permissions are in links?
pLumo avatar
in flag
Check this --> https://stackoverflow.com/questions/7487793/symbolic-link-not-inheriting-permissions
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.