Solved

file permission

Posted on 2002-06-27
7
182 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

895 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

13 Experts available now in Live!

Get 1:1 Help Now