I removed my permissions on my downloads folder using chmod.

can anyone help restore back to default?

Thanks!

  • toynbee@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    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 of ugo for user, group or other.