PDA

View Full Version : Locked /usr/local/bin directory



yadwin
07-17-2004, 04:31 PM
I have got no write permissions for /usr/local/bin directory and whenever I try any new installation it fails.

I have tried chmod and all related command but couldn't get arount so please help me in gaining RW access to this directory.

rrfish72
07-17-2004, 10:16 PM
I had same problem but I entered into 2.6 version, logged in as root and had all permissions.
Try to see if it helps.

yadwin
07-18-2004, 02:50 PM
well, The system fails to login as root.

I have to get the solution within 2 days otherwise my organisation will have to leave the linux idea and go back to windows again that I strongly object. Kindly get me out of this trouble.

mzilikazi
07-18-2004, 07:42 PM
I have got no write permissions for /usr/local/bin directory and whenever I try any new installation it fails.

I have tried chmod and all related command but couldn't get arount so please help me in gaining RW access to this directory.

You do NOT need to log in as root! Never log in as root. Open a terminal and get root there with su.

su
<password>

Then you can install whatever you want. What are you trying to install BTW?

yadwin
07-19-2004, 06:28 AM
Well that I did I got into the root. But again the same problem occurs. Whenever I try to change the permission the system displays

Cannt write to /usr/local/bin directory - read only file system.

I am trying to install Mgetty (Fax and Caller ID System.) and also I have asked my organisation to adopt linux and throw away windows as I work as System administrator.

Markus
07-19-2004, 09:59 AM
Sorry if the question is obvious, but do you run a hd install? Otherwise running from the cd it's bound to be read-only.

yangwawa
07-20-2004, 07:43 AM
Yes, this is problem is most biggest one. Since I want to something that is modify any configuration files, I can not save whatever I 'v login as su or not. I am suggest that only one different is Run-On-CD.

yadwin
07-20-2004, 03:47 PM
I have come across many guys who just abondened knoppix due to this trouble they say if u cant install a new program and cant save whatever you have done then what is the need to keep a a os on CD. And if the only solution is installing it on to the HDD then why not some bigger version like Redhat or Mandarke.

And I think we must device some solution like what if it stores all the files on to the HDD during Shutdown and then again retrievs them to ram during the next run. the whole trouble will be solved

And I think this may not be a very troublesome solution.

Markus
07-20-2004, 04:08 PM
There's still lots of pros for a linux live-CD like Knoppix.
It's basically virus/trojan proof, reboot and all possible vermins are gone, not that they exist that much within linux.
You can boot up a computer which has a corrupted OS or no HD.

I haven't done this but you can create a persistent home by clicking the penguin icon, trace up to 'Configure', click 'Create persistent home directory'.
Then at boot use the one of the cheatcodes:
myconf=/dev/sda1 (this is for usb, replace if needed with the device/partition where you have the persistent home)
myconf=scan (to use automagic scan for the location)

After creating the home you can use klik to install software: http://klik.berlios.de/
There's a lenghty thread about it in: http://www.knoppix.net/forum/viewtopic.php?t=7680

mzilikazi
07-20-2004, 04:57 PM
I have come across many guys who just abondened knoppix due to this trouble they say if u cant install a new program and cant save whatever you have done then what is the need to keep a a os on CD. And if the only solution is installing it on to the HDD then why not some bigger version like Redhat or Mandarke.

Ever used an rpm based distro? rpm is a terrible package manager IMHO. Many dependency problems. Also Mandrake is the slowest moving Linux I've ever seen in my life. Personally I would never use it.


And I think we must device some solution like what if it stores all the files on to the HDD during Shutdown and then again retrievs them to ram during the next run. the whole trouble will be solved

And I think this may not be a very troublesome solution.

I guess I don't understand what the point of a live cd is if you want to install things to the hdd. Why not just put an OS on the hard drive then? You are aware that it is completely possible to create your own live cd?