need help restoring permissions on my downloads folder
need help restoring permissions on my downloads folder
I removed my permissions on my downloads folder using chmod.
can anyone help restore back to default?
Thanks!
You're viewing a single thread.
Thanks y’all! chmod 755 worked! Back to drwxr-xr-x
33 0 ReplyA quick guide to explain what is going on here, and what the numbers mean: https://pbs.twimg.com/media/DaMLUoGXUAI21V6.jpg:large
33 0 ReplyTip: you can also use chmod u+rwx,g+rx,o+rx etc to add permissions
With the initial letters corresponding to "user", "group" and "other", and (r)was, (w)rite, e(x)ecute for the rest.
In the case of directories, x specifies access to files/etc within the directly (read just let's you see them)
You can also use i.e "o-rw" etc etc to remove existing permissions
26 0 ReplyIf you use X instead of x it'll add execution permission to directories without making files executable.
5 0 ReplyOh yeah I forgot to mention that. It's important when using wildcards or recursive permissions!
1 0 Reply