You are not logged in.
chmod 755 vs chmod 744
Offline
Err I love questions, the people here know this..but a tad bit of research from you could solve this one...
To understand this you need to know a bit about the linux way that permissions are handled. Basically the numbers each individually represent a different level of permission.
4 = read
2 = write
1= execute
So you add those up to give you the value of what permission you want. A chmod 7 would mean that the root user has 4+2+1 (Write+read+execute) Notice that there's three numbers after the chmod command though. The first number (7 in the first example you gave) is the "owners" priviledge. The middle number is regular users in the same group as the owner of the file. The last number is "other" users outside of the group. So the middle number is a 5. this means that it's made up of the "Read" permission and the execute permission, but it can't write to it. Now look at your 2nd example... 744 . The owner has all persmissons, write read and execute... the reg. users have 4 which is only read persmissions. And the "others" group has only read as well..
Look up Octal Permission for Unix to read a better explanation.
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
Thank you :-)
Offline
Lazy folks don't read no manuals, they google for "chmod calculator": http://www.onlineconversion.com/html_ch … ulator.htm.
Offline
Lazy folks don't read no manuals, they google for "chmod calculator": http://www.onlineconversion.com/html_ch … ulator.htm.
lol, a nice calculator, but it's good to know the 'why' and how behind how something works I find...
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
I'm sure you understand long division algorithm too, but still use a calculator for divisions.
Read "lazy folks" as "for non professional, occasional need".
Offline
Lazy folks don't read no manuals, they google for "chmod calculator": http://www.onlineconversion.com/html_ch … ulator.htm.
The trouble with that calculator is that there is no "Total" given. How can they expect people to rely on it like that?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
"chmod calculator": http://www.onlineconversion.com/html_ch … ulator.htm.
That is brilliant, thanks nore!
I don't think I ever really understood octal permissions until I saw that page explain it graphically just now; perhaps I'm dumb
Offline
It seems to give me the info I need. What is missing for you, @damo? (@damo if you're making a joke ... I apologize I have poor contextual reading sometimes)
The "Value" row of the tool seems to give the "total".
Offline
^ Yeah it was a bad joke Some poor people may not be able to add the values, since they couldn't calculate them in the first place ]:D
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
^^ haha! Gotcha!
It was a nice refresher on WTH these values mean.
Offline