Why? I mean not Drake because Drake sucks
My specify every permission every time? That's just going to create arrows.
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo in Windows.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.
Why? I mean not Drake because Drake sucks
My specify every permission every time? That's just going to create arrows.

This is drake erasure and I'm LOVING EVERY MINUTE OF IT, JERRY
Yo dawg, heard you like memes
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.
If your cat isnβt the first entry in /etc/sudoers Iβm not sure I want to know you
If your cat isnβt the first entry in /etc/sudoers Iβm not sure I want to know you
Cat doesn't execute anything tho, it just reads and gives output
Or am I???
x='dumb.txt' && echo "ls | grep $x && cat $x && rm -v $x" > $x && cat $x | bash
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.
real question is how do you pronounce chmod
Shmaude
βchange modβ
"chemod"
c h mod
The CH from channel and then mod
shmod. and then cho-wn (ch'own? cho-un?)
and of course, hweel (jk on this one)
"c h m o d"
Just like "l s" and "p a c m a n"
chmod 666 so only the devil can execute it
chmod -R ug+rwX,o=r *
Such a beautiful language.
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)
4 read, 2 write, 1 execute.
That's it. Add them up for whatever you want.
and digits are sticky, owner, group, all
chmod -R 777 / galaxy brain
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...
May I interest you in a nice βchownβ?
chmod -R 777 /
Why the fuck am I still getting permission errors
sudo
You can actually do chmod +777,u+rwx,go-w foo to make the logic easier if you want to force a starting assumption.
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
chmod 755 for when setting permissions to directories. chmod +x for making something executable right when I am about to run it.