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

x
?
Solved

Permission Denied woes.!!!

Posted on 2000-04-10
2
Medium Priority
?
337 Views
Last Modified: 2010-04-20
I am getting "permission denied" errors.  I want to change permission so that I can modify files, LILO etc...  I use redhat 6.1, the gnome desktop.  I am home/hopkins, I need to be the root user.  how can I access as root.
0
Comment
Question by:Mustard
[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
2 Comments
 
LVL 1

Accepted Solution

by:
philiph_elvis earned 150 total points
ID: 2702727
Ok, to become root you use the "su" command.  Open up a terminal window and type "su" at the prompt.  You will be asked for the root password, which you supplied when you installed Linux.

You can then change file permissions with chmod.  Some background: files have three sets of permissions: owner, group, and other.  Each set corresponds to a different set of people:

Owner: the person who actually owns the file
Group: anyone in the same group as the owner
Other: everyone else.

To view the permissions and ownership of a file, use "ls -l".  This will show you three sets of permissions.  'r' means read, 'x' means eXecute, and 'w' means write.  the three sets correspond to owner, group and other.

So, to allow the current owner to execute a fuile, you would do:

chmod u+x filename

You can change file ownership using "chown".

The root user has absolute ability to change all permissions and ownership.  Other users can only operate on files for which they have appropriate permissions  and ownership.  Obviously you can't just change the ownership of a file which belongs to another user (you can 'give away' a file to someone, however).

In general you want to do as little as possible as root, to avoid damaging your system (since the root user could erase any file, for instance).
0
 

Author Comment

by:Mustard
ID: 2704295
The answer pointed me in the right direction.  However, if i had no previous underestanding, it probably would not have worked.  I would have liked to see more "type this, then at this prompt type this, etc...."  overall, a good expaination.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Fine Tune your automatic Updates for Ubuntu / Debian
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

730 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