I was attempting to give any regular user access to two folders that reside a few branches down in my home folder. I thought I was in the correct directory and typed out
sudo chmod 666 *, but accidentally issued this in my own user account's home directory (had multiple terminal windows open at the time). No big deal, I thought, since this would effectively just give every user access to read and write perms in my home folder. I'll just use chown to switch everything back to just my account.
However, now some folders have become Binary files and nothing within my home directory can be opened. I get errors telling me I do not have permission to access the files, and if I try read file permission values the gnome3 "Files" application says:
The permissions of [file in question] cannot be determined.
I've tried using
chown [user] * to restore ownership to the proper accounts but it doesn't seem to have any effect. Also, I thought chmod 666 would give any user read and write access, so I don't understand how this problem arose.
I'm using Arch Linux with Gnome 3