Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

file permission

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
3pic9
Asked:
3pic9
  • 4
  • 3
1 Solution
 
ahoffmannCommented:
> 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
 
3pic9Author Commented:
ahoffmann,

Oops, yes, my error. I meant edit lilo.conf.
3pic9
0
 
ahoffmannCommented:
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
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
3pic9Author Commented:
ahoffmann,

Yes, I was logged in as root.
3pic9
0
 
ahoffmannCommented:
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
 
3pic9Author Commented:
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
 
ahoffmannCommented:
glad to give at least a hint ti the right direction with asking stupid simple questions ;-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now