bash: /etc/profile: Permission denied
I recieve the error above when logging in as user on my system.
I check /etc/profile and /etc/bashrc and both are -rw-r--r-- perms. on them.
What the user home direcotry looks like. Its also not subsituting the UID and GID with the correct names but leaveing the numerical values. As root everything works fine.
Code:
-bash-3.00$ ls -la
total 36
drwxr-xr-x 2 1002 100 4096 Mar 27 22:33 .
drwxr-xr-x 3 0 0 4096 Mar 27 22:31 ..
-rw------- 1 1002 100 41 Mar 27 22:33 .bash_history
-rw-rw-r-- 1 1002 100 178 Mar 27 22:39 .bash_logout
-rw-rw-r-- 1 1002 100 836 Mar 27 22:39 .bash_profile
-rw-rw-r-- 1 1002 100 449 Mar 27 22:39 .bashrc
The uid, and gui are correct for that user account.
I've tried removing and readding the user account and still get the above. Any ideas?