Why? I mean not Drake because Drake sucks
My specify every permission every time? That's just going to create arrows.
Why? I mean not Drake because Drake sucks
My specify every permission every time? That's just going to create arrows.

real question is how do you pronounce chmod
shmod. and then cho-wn (ch'own? cho-un?)
and of course, hweel (jk on this one)
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.
chmod -R ug+rwX,o=r *
Nope, +x for life
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)
When I start fucking with chmod, it happens way too often that what I want to do only works after I executed chmod 777...
chmod -R 600 ~/, because I dont trust anyone, not even myself.
I forgor the tilde and its taking a long time. wat do
chmod 755 for when setting permissions to directories. chmod +x for making something executable right when I am about to run it.
top 50 comments