I removed my permissions on my downloads folder using chmod.
can anyone help restore back to default?
Thanks!
sudo chmod 755 ~/Downloads
assuming you don’t need a recursive solution for subdirectories
-R to recurse. Good for chmod and chown
Don’t give all your files execution permissions.
chmod 644 -R Downloads chmod +x Downloads
That’s the same as 755, except you are only setting execute on the folder?
Why would you want execute on anything but the folder?
I love everything about this screenshot
The non proportional font on terminal 🤌
I think they should use Comic Sans instead.
Thanks y’all! chmod 755 worked! Back to drwxr-xr-x
A quick guide to explain what is going on here, and what the numbers mean: https://pbs.twimg.com/media/DaMLUoGXUAI21V6.jpg:large
I was weirded out by the 12288 filesize. If anyone else is wondering.
So used to seeing 4096 lol
man chmod?
chmod 755 ~/Downloads
If OP did it recursively they would also need -R
sudo chmod 777 ~/Downloads
As easy as that!
chmod 644 -R Downloads chmod +x Downloads
Your welcome
Edit: I just copied the permissions on the other folders