This is because you have messed up the permissions of all files in your HOME folder. Please be very careful while playing with file permissions, use chmod and chown very carefully or you can end up with a mess.
bash: ~/.bashrc : Permission denied
I think you changed the permissions of all files in your home directory, so the permission of bashrc also got changed.
The default permissions of ~/.bashrc script is
-rw-r--r-- 1 user1 user1 3353 2012-01-09 12:05 .bashrc
To explain it, you should have both read and write permissions on the file, other users of the usergroup should be able to read it, and all others can also read it.
So now change the permissions of bashrc script using chmod to 644
chmod 644 ~/.bashrc
if the above commands gives permission denied. then
run chown first as sudo
sudo chown user1:usergrp ~/.bashrc
replace user1 with your username and usergrp with your default user group.
Now again do
chmod 644 ~/.bashrc
now you will be having permissions for basrc script, now try to login and check if you get any other errors :)
/home
should bedrwxrwxr-x
androot:root
and/home/user
rw rw -- or r-
depending if you want other users to read your users files. Directories and executable files withx
. The same insideuser
directory won't be a problem if you have the group = user (nroach44:nroach44) like you seems to have (I would only give 0 (---) permissions on others).