Click to See Complete Forum and Search --> : Permissions Denied
how do i change the permissions on my hard drive?
i keep getting
Checking root filesystemfsck.ext2: Permission denied
i did root login and typed
e2fsck -py [hd1]
and it said
bash: /sbin/e2fsck: Permission denied
nothing works cause of this, i just installed it, never loaded KDE once
Linuxcool
09-12-2001, 11:39 PM
If you're trying to run ' e2fsck -py [hd1] ', it won't work. It should be ' /sbin/e2fsck -py /dev/hda1 '. Change the ' hda1 ' to the partition that you want to check and run it as root.
thanks a lot for responding
i have never used Linux before in my life, i had just installed it for the first time and now i get 'Permision denied' on start up
i don't know what partitions the installed made
i tryed what you said, and i still get permision denied
error27
09-13-2001, 12:10 AM
paste the contents of /etc/fstab to the board.
type "ls -l /sbin/e2fsck " and cut and paste that to the board.
when you log in as root does your prompt end in a '#' char?
when i enter that command i get this:
rw-r--r-- 2 root root 131072 Sep 12 09:20 /sbin/e2fsck
i'll tell you everything else it said.
*** An error occurred during the file sytem check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D for normal startup):
then i type password and it gives me:
[root@localhost /root]#
so yes, i get the '#'
also, during the install, a few files got errors when copying them from the CD, so i guess they didn't get installed, i don't remember which files there were
[ 13 September 2001: Message edited by: ahri ]
Red Lotus
09-13-2001, 03:35 PM
There's the problem, ahri. When you type:
ls -l /sbin/e2fsck
You should get this (or something similar):
-rwxr-xr-x
I've highlighted every "x" in bold. The "x" stands for "execute," which means that one will be able to execute the program (e2fsck). I don't have much knowledge on file permissions, but seeing as there are no "x"s in your permission, no one can execute the program.
The command to change the permission (as root) is chmod
Sorry, but you'll need to get someone else to tell you the exact command to type in order to change the permission. Is this a wasted post? :)
thanks to another ms windows crash, i have to retype this entire post, now you know why i am 'trying' to convert
the mandrake 8.0 maual doesn't explain chmod very well, i copyed something it had in there and did this:
chmod -R u-x /root
from /root with root loging, it didn't work cause i still get"
modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.3-20mdk/mods.dep (no such file or directory)
.
.
.
Checking root filesystemfsck.ext2: Permission denied
anyone know if this can be fixed, or if i need to reinstall?
OKAY, FORGEIT IT
i tryed to reintall it another 5 times times, i got nothing but, "memory error" this, "fatal error" that, "installation crash", "out of of sync" something or other, "Installation Complete.
.
.
.
.
**** YOU, I'M NOT GOING TO LOAD ANYWAY"
so i gave the damn thing back to my dad and he will get someone else to do it
i would like to thank all of you that have taken the time to help me out, i apreciate it
error27
09-13-2001, 09:04 PM
well, it doesn't matter anymore...
but if it did matter I would say that you should reinstall. Something major was clearly screwed up and I bet it was more than just one thing.
The errors in installation are what should have been dealt with first. The other errors were merely symptoms of a larger problem.