| View previous topic :: View next topic |
| Author |
Message |
Hack_Benjamin Apprentice

Joined: 12 Nov 2004 Posts: 158
|
Posted: Sat Jan 05, 2008 2:16 pm Post subject: File permission borked [solved] |
|
|
[EDIT]
Moved /var/lib /var/lib.permiss and made a new folder /var/lib. Then copied everything back into lib that needed to be there an made a new init.d folder
[/EDIT]
I cannot boot into Gentoo currently.
The file/folder /var/lib/init.d has 'no' permissions on it, that is I cannot access it as any user, even on a live cd.
The output is:
| Code: |
root@livecd:/mnt/gentoo/var/lib# ls -l init.d
ls: init.d: Permission denied
root@livecd:/mnt/gentoo/var/lib# ls -l | grep init.d
?--------- ? ? ? ? ? init.d
|
With similar results when asked for root passwd trying to boot into gentoo.
I cannot change this as there is strictly no access to it as any user,
Please help,
Last edited by Hack_Benjamin on Sun Jan 06, 2008 8:32 am; edited 1 time in total |
|
| Back to top |
|
 |
bunder Bodhisattva


Joined: 10 Apr 2004 Posts: 5150 Location: Hamilton, Ontario
|
Posted: Sat Jan 05, 2008 2:46 pm Post subject: |
|
|
| Code: | drwxr-xr-x 16 root root 4096 2008-01-01 19:54 init.d
|
those permissions should be recursive. i'd start off with a chown -R root:root and if that works, then you can chmod the rest.
cheers _________________ bunder @ freenode | bunhax - tame your SMP!
gentoo shells | the remains of UFGO |
|
| Back to top |
|
 |
Hack_Benjamin Apprentice

Joined: 12 Nov 2004 Posts: 158
|
Posted: Sun Jan 06, 2008 8:32 am Post subject: |
|
|
| This doesn't work, I've already tried it, root cannot do anything to permissions of the file. I've got it working again but I'm now stuck with a file that I can neither delete nor repair. |
|
| Back to top |
|
 |
emerald Tux's lil' helper


Joined: 31 Jul 2005 Posts: 98
|
Posted: Fri Jan 11, 2008 3:00 am Post subject: |
|
|
try to check your file system, looks much like a broken filesystem _________________ Knowledge is scary....
... running Gentoo Linux ...
... and Windows in a 'small corner'(C) - i.e. vmware - ...
System Profile
Don't open the Red Door ! |
|
| Back to top |
|
 |
mrbig4545 Tux's lil' helper


Joined: 03 Jun 2004 Posts: 117 Location: Manchester, England
|
Posted: Tue Apr 22, 2008 10:21 am Post subject: |
|
|
I had the same problem, fixed by booting from a livecd and running | Code: | | fsck.jfs -f -v /dev/hda2 |
_________________ Please add "[SOLVED]" to the title to your thread if you believe your issue is solved. |
|
| Back to top |
|
 |
|