Another_username@lemmy.world to Linux@lemmy.ml · edit-25 months agoneed help restoring permissions on my downloads folderlemmy.worldimagemessage-square39fedilinkarrow-up162arrow-down18file-text
arrow-up154arrow-down1imageneed help restoring permissions on my downloads folderlemmy.worldAnother_username@lemmy.world to Linux@lemmy.ml · edit-25 months agomessage-square39fedilinkfile-text
I removed my permissions on my downloads folder using chmod. can anyone help restore back to default? Thanks!
minus-squaretoynbee@lemmy.worldlinkfedilinkarrow-up2·5 months agoIf all you need is to restore read permissions, you could use symbolic rather than octal: chmod -R a+r $DIR If you don’t want to grant read permissions to everyone you can replace the a with whichever applies of ugo for user, group or other.
If all you need is to restore read permissions, you could use symbolic rather than octal:
chmod -R a+r $DIR
If you don’t want to grant read permissions to everyone you can replace the
a
with whichever applies ofugo
for user, group or other.