Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-03-2007, 11:54 AM
|
#1
|
Member
Registered: May 2006
Location: Wirral
Distribution: Mepis, Mint, PCLinuxOS
Posts: 57
Rep:
|
Permissions denied
I've just started to get the error message 'Permissions Denied' when I try to access hda5 which is my /usr partition. My / partition is OK and shows Owner root-root and drwxr-xr-x but I can't access the details for /usr. I've no idea about Permissions so what can I do?
|
|
|
11-03-2007, 11:57 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
How are you trying to access it?
|
|
|
11-03-2007, 11:58 AM
|
#3
|
Member
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702
Rep:
|
What does the "mount" command show you about hda5 ?
You should also have an entry in your /etc/fstab also.
|
|
|
11-03-2007, 12:15 PM
|
#4
|
Member
Registered: May 2006
Location: Wirral
Distribution: Mepis, Mint, PCLinuxOS
Posts: 57
Original Poster
Rep:
|
Mount shows:
$ mount hda5
mount: can't open /etc/mtab for writing: Input/output error
That's using Konsole as User rather than Root.
I get the same result if I try to mount from My Computer / Storage Media / hda5 and I also get the same result for a couple of SD cards and the XP hda2.
|
|
|
11-03-2007, 12:17 PM
|
#5
|
Member
Registered: May 2006
Location: Wirral
Distribution: Mepis, Mint, PCLinuxOS
Posts: 57
Original Poster
Rep:
|
I've now looked and don't seem to have anything called /etc/mtab either as User or when Root
|
|
|
11-03-2007, 12:20 PM
|
#6
|
Member
Registered: May 2006
Location: Wirral
Distribution: Mepis, Mint, PCLinuxOS
Posts: 57
Original Poster
Rep:
|
/etc/fstab shows:
# /dev/hda5, size=15470532, type=131: Linux native (extended)
/dev/hda5 /home ext2 noatime 1 2
Will anything be 'hidden'?
|
|
|
11-03-2007, 12:46 PM
|
#7
|
Member
Registered: May 2006
Location: Wirral
Distribution: Mepis, Mint, PCLinuxOS
Posts: 57
Original Poster
Rep:
|
hda7, which is my / partition shows the same output from mount as hda5 but I'm obviously accessing it (and can write text files back to /home/username
$ mount hda7
mount: can't open /etc/mtab for writing: Input/output error
|
|
|
11-03-2007, 03:31 PM
|
#8
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Just try the "mount" command. If you type "mount hda7" chances are the mount command will think you're actually trying to mount a partition called hda7 (which is nonsensical anyhow). You can't mount generally as a non-root user hence the permission denied.
|
|
|
All times are GMT -5. The time now is 03:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|