You are not logged in.
Everything was working fine. I did pacman -Syu this morning and now (18:33) I tried to login from work to my PC and I get:
login as: ipm
ipm@xx.xx.xx.xx's password:
Last login: Fri Nov 3 18:31:43 2006 from xx.xx.xx.xx
-bash: /etc/profile: Permission denied
[18:35:00][I have no name!|~]:
I've done several other logins today from work to the PC after the update and all was fine.
Logging with root is OK. Searched the forum and found this thread, using it however I couldn't fix my problem.
Here are the permissions of the files now (755) I've tried with 644, same result.
[18:36:53][root|~]: ls -l /etc/ | grep profile.d
drwxr-xr-x 2 root root 320 Nov 3 09:41 profile.d
[18:37:01][root|~]: ls -l /etc/profile*
-rwxr-xr-x 1 root root 858 Sep 3 10:20 /etc/profile
/etc/profile.d:
total 40
-rwxr-xr-x 1 root root 617 Jul 19 17:29 gnome.sh
-rwxr-xr-x 1 root root 451 Oct 3 20:07 kde.csh
-rwxr-xr-x 1 root root 464 Oct 3 20:07 kde.sh
-rwxr-xr-x 1 root root 38 Jun 14 20:28 ladspa.sh
-rwxr-xr-x 1 root root 18 Nov 3 18:33 locale.sh
-rwxr-xr-x 1 root root 158 Feb 5 2006 mozilla-common.sh
-rwxr-xr-x 1 root root 208 Oct 19 14:24 qt.sh
-rwxr-xr-x 1 root root 45 Jul 3 00:39 torcs.sh
-rwxr-xr-x 1 root root 529 Aug 5 14:21 xfce4.sh
-rwxr-xr-x 1 root root 358 Oct 29 16:37 xorg.sh
[18:37:07][root|~]:
Help.
............. .......... .........................
......................
Where is Pacman when you need him....
Offline
Is something trying to write to /etc/profile? Check your ~/.bashrc too...
Offline
The ~/.bashrc is fine, several aliases and the PS1.
Is something trying to write to /etc/profile?
How can I find that out? ps aux | grep profile gives nothing...
............. .......... .........................
......................
Where is Pacman when you need him....
Offline
lsof | grep profile
or something similar
-Shawn
Offline
No, nothing here either....
Edit: I fixed it. It was my mistake all along :oops: . I installed earlier some soft from rpm for the lightscribe of my writer and somehow managed to chmod /etc to 700. That was the problem all along. Chmoded /etc back to 755 and all is fine.
............. .......... .........................
......................
Where is Pacman when you need him....
Offline