real question is how do you pronounce chmod
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
"c h m o d"
Just like "l s" and "p a c m a n"
shmod. and then cho-wn (ch'own? cho-un?)
and of course, hweel (jk on this one)
c h mod
I pronounce it chmod, you?
chmod -R ug+rwX,o=r *

This is drake erasure and I'm LOVING EVERY MINUTE OF IT, JERRY
Yo dawg, heard you like memes
I don't use chmod nearly often enough to remember these numbers. I know there's a mathematical way to figure it out, but I cba to do that when u+wrx more or less tells me exactly what it does (grant the User Write, Read, and eXecute permissions)
Nope, +x for life
chmod -R -x *
chmod -R 777 / galaxy brain
But those are different
Yeah, not only does +x leave read/write permissions untouched, it also only makes it executable for the user, not for everyone and their cat.
Cat doesn't execute anything tho, it just reads and gives output
Except if you use kitty terminal emulator with unsecure remote access. Issue
Then with cat, you could execute arbitrary commands...
The cat command executes the cat program.
What happens when u try to cat the cat program, is that considered reading or executing
Both, they are not mutually exclusive.
Had to be done for the joke. :)
chmod -R 600 ~/, because I dont trust anyone, not even myself.
I forgor the tilde and its taking a long time. wat do
sudo rm -rf / --no-preserve-root
Start from scratch
Tilde is a shortcut to /home/palordrolap
chmod 666 so only the devil can execute it
chmod 755 for when setting permissions to directories. chmod +x for making something executable right when I am about to run it.
Chmod 777 I live erratically without consequence.
this but in reverse π€·ββοΈ
When I start fucking with chmod, it happens way too often that what I want to do only works after I executed chmod 777...
You can actually do chmod +777,u+rwx,go-w foo to make the logic easier if you want to force a starting assumption.
May I interest you in a nice βchownβ?
chmod -R 777 /
Why the fuck am I still getting permission errors
Selinux
sudo
If you don't add the leading digit (out of respect) for the sticky/setgid/setuid bits, do you even Linux?
700 cause Iβm selfish.
700 is the only sane answer for directories inside $HOME.
macOS by default makes /Users/* only readable by the owner, except for $HOME/Public, which is drwxr-xr-x, and $HOME/Public/Postbox, which is drwx-w--w-
Nah, thereβs a lot of config files in there that other programs need to read.
The programs usually run in user context and have access to the files.
Even if thinking very hard I cannot come up with a scenario where a program that does not run in user context needs access to user files.
Usually, but there might be services running as other users that reference those configs. It really just depends on whatβs on your system. Obviously you can make 700 work, but it might require tweaking some stuff.
It really just depends on whatβs on your system.
Yes, this is what I wonder.
I use Linux since ca. 2005 and never ever had a program not working because it could not read a userβs $HOME contents.
Unfortunately. I really wish $HOME was reserved for files I create myself. I know. I can create my own shit for that. But, I really wish every single random project I download to fuck around with didn't drop a config directory or file in there. ITS MY HOME.
I mean, having config files in there makes a lot of sense. It allows you to move your home to some other machine/install and immediately feel at home, because everything is configured to your liking.
Now, the fact that many apps create their own directory instead of putting their stuff in ~/.config is pretty annoying.
Yeah. That's more my frustration. That it's implented poorly by most people. I don't think that trying to change the standard by "adding another standard" would be helpful. Just minor frustration. Which usually leads me to putting all my organized directories and shit in a dedicated location. And I just let /home be the clutter that it is.
Also for multi user systems it's handy that each user gets their own configs
I like to chmod it chmod it
