Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

file permission

Posted on 2002-06-27
7
Medium Priority
?
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:3pic9
ID: 7118423
ahoffmann,

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

Accepted Solution

by:
ahoffmann earned 200 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

715 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