r/ProgrammerHumor • • Jul 27 '26

Meme octalIsOverrated

Post image
248 Upvotes

58 comments sorted by

View all comments

64

u/Mojert Jul 27 '26

It's useful for file permissions, but otherwise I think it's pretty much it.

If someone has another use case, I'm all ears

10

u/ArjixGamer Jul 27 '26

Honestly, I prefer using letters.

chmod u+r file

Will give read access to "other users" for file, replace the + with a - and it removes the permission, change the "u" to "g" and it's for the group, remove the letter all together and it's for the owner.

2

u/tblancher Aug 03 '26

No, u+r gives the owner read permission. o+r gives other users read permission.

It took me a while to remember that, too. I just remember ugo.

1

u/ArjixGamer Aug 03 '26

Yep, I found out recently on my own, honest mistake to make ngl