I made a folder unreadable after chmod. I can't undo it from terminal?
Solution 1:
Are you using sudo chmod ugo-rw ./folder
to add read and write permissions? The minus sign you are writing means that you want to remove those permissions, if you want to add them use a plus instead: sudo chmod ugo+rw ./folder