LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2004, 09:47 AM   #1
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Rep: Reputation: 15
File editing


Hello,
I am using Mandrake 9.1
I was installing Wine-20040121.tar.gz
When I did make install.
I received the message;
add /usr/local/libs to /etc/ld.so.config
then run configure ld.so.config

I tried in terminal then under su and was denied permission,
And under /etc/ ls I found the file still could not edit it.

Which man page or web link explains this procedure?

Thanks,
Digger
 
Old 01-28-2004, 09:56 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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 09:57 AM.
 
Old 01-28-2004, 11:04 AM   #3
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 15
Thank You I'll Give it a try
 
Old 01-28-2004, 03:42 PM   #4
digger
Member
 
Registered: Apr 2003
Location: Ridgely Tenn.
Distribution: Win Vista / Slackware 12.1 / Kubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 15
Hi,
When I tried to install Wine from tar ball I received this message;
Add the line ‘ /usr/local/lib’ to /etc/ld.so.conf and run /sbin/ldconfig export LD_LIBRARY_PATH+$LD_LIBRARY_PATH:/usr/local lib

When I try I still get the message; “permission denied” I have tried “ld.so.conf” at chmod 644 , 777 ,754 and cant get any where with any of those settings.

Thanks Digger
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
? on editing a file steve_f60 Linux - Software 4 09-20-2005 05:22 PM
file editing newdummy Linux - Newbie 5 03-18-2005 07:16 PM
.vob file editing kaise_sose Linux - Software 0 10-07-2004 02:40 PM
editing a file using awk pantera Programming 1 05-14-2004 08:40 AM
Editing the Host file jatabe Linux - Networking 2 08-09-2003 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration