I have a weird little problem, the solution of which is eluding me.
I have a database on my office machine that is accessed by logging in as a special user. The user's default 'shell' is the database program and therefore is all the user sees upon login. Each year I update the program and database ... this year in March. Everything was ok then but not now.
When I log in as user "csd" I get:
bash: /usr/src/cambridge/.bashrc: Permission denied
This is csd's home folder. The permissions for the folder are:
drwxr-xr-x 18 csd users 4096 Mar 7 14:39 cambridge/
When I temporarily change csd's shell to bash I find that I cannot cd to this folder. Why would that be if csd owns it? BTW, folder cambridge/ is in /usr/src (because it's located on a large drive). There have been no such problems in the past. Everything was working in March.
If I change csd's home folder to /home/csd but leave the 'shell' program in cambridge/bin it still doesn't work. If I copy the entire cambridge/ folder to /home/csd I can then begin to run the program ... but I don't want to do that. I'd rather leave it on the large drive. There are other problems associated with moving it as well.
Colour me puzzled.