Solved

file permission

Posted on 2002-06-27
7
181 Views
Last Modified: 2013-12-15
Hello,

I attempted to run lilo.conf. I got the error message "Permission denied." I was opperating as root and checking the permissions for lilo.conf showed rwx for the owner root. What is the problem and the fix?
0
Comment
Question by:3pic9
  • 4
  • 3
7 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7115876
> run lilo.conf ..
what do you mean by that?
you can edit lilo.conf, and run lilo, but you cannot run lilo.conf (except you have a script or program of that name)
0
 

Author Comment

by:3pic9
ID: 7117665
ahoffmann,

Oops, yes, my error. I meant edit lilo.conf.
3pic9
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7118120
when you edit (respectively "write") lilo.conf you need that permission. Only user root has write permission to lilo.conf, usually.
Have you tried as user root?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:3pic9
ID: 7118423
ahoffmann,

Yes, I was logged in as root.
3pic9
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 7119132
please post result of:
  ls -l /etc/lilo.conf

Which editor did you use?
which command in the editor produced the error? Please post exact error message.
0
 

Author Comment

by:3pic9
ID: 7119509
ahoffmann,

I tried the editing of lilo.conf again using Vim and the file opened this time without any error. Therefore, it was some idiot mistake on my part. So the problem was myself. You assisted in my rethinking the problem. Thanks for your patience.
3pic9
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7119682
glad to give at least a hint ti the right direction with asking stupid simple questions ;-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Amazon EC2 Instance with EBS Block attached 1 84
Sed question 2 49
Problem to start Neon 20 54
Linux Scripting 3 61
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now