Go into /etc/ and type ls -la ld.so.conf
You should see something like this:
-rw-r--r-- 1 root root 415 Jan 28 10:01 ld.so.conf
Ignoring the first - for now (it is the suid bit, I will discuss that later) there are three groups of letters and -. The first three (which in my example are rw-) are the permissions for the owner of the file. This means the owner has read and write permissions. The owner is root.
The send three (which in my example are r--) are members of the group, which in this case is also root. So members of the group root can read this file. The last group (also r-- in my example are all other users. So in my case all other users can read the file.
What you need is to make sure the root user has write permissions. You can add this by typing "chmod o+r ld.so.conf" Or chmod 644 ld.so.conf if you think better in binary. You must be the root user to do this. Do a man chmod to read more about the chmod command.
Oh ya, almost forgot about the explination of the first bit (suid bit). If that is set then when any user with permissions to the file access it he accesses it as if he is the owner.
I hope this wasn't too confusing....
Last edited by jtshaw; 01-28-2004 at 10:57 AM.