Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I had the same problem someone else on this board did, however that solution didn't work. Here is what the problem is:
ls -l /dev/cdrom
lr-xr-xr-x 1 root root 16 Feb 23 19:14 /dev/cdrom (flashes red)-> ../cdroms/cdrom0(flashes red)
The advise that was offered was to do the following code, which I did:
rm /dev/cdrom && ln -s /dev/hdc /dev/cdrom
This however returned:
ln: `/dev/cdrom': File exists
Which is weird, because I just removed it supposedly. So when I go into the directory using KDE (under dev) the icon for cdrom is the questionmark with a big lock on it, and it says the file type is unknown (though it has an arrow like it is a link). So I thought, ok, I'll delete it and then make the new link, no problem. Well when I delete it and try to make the link with the code ln -s dev/hdc /dev/cdrom it gives the same response, saying the file exists. An low and behold when I refresh the directory it's back! Apparently I just can't delete it. When I just click on it, it says I don't have permission. How do I remove this faulty link and put in the correct one?
One thing that I might have done to mess it up is that initially I typed (forgot the space):
rm /dev/cdrom && ln -s /dev/hdc/dev/cdrom
Would that really have screwed all this up, or is it something else? Any help you can give is greatly appreciated!!
that's the big problem here--I think, it WON'T remove it, even when it appears to have removed it, when I go back to the directory later it is back. I've tried rm from the command line, I go into kde and delete it, I even tried just renaming it but when I say:
ln -sf /dev/hdc /dev/cdrom
ln: creating symbolic link '/dev/cdrom' to '/dev/hdc': file exists
and then when I go back to my dev directory that locked cdrom link is back again. I tried just clicking on the link to see what it would do and it says:
"You do not have enough permissions to read file:/dev/cdrom"
I am in root, which I thought was the highest level of permissions? When I check the permissions on the file all the boxes are checked under read write and execute for all three. The user is listed as root and the group is listed as root.
Is there some sort of "override" or someting that I need to do to seriously stop this locked link from coming back so I can make the new one?
I really appreciate your help with this frustrating problem!! Thanks!!