Gentoo Forums
Gentoo Forums
Quick Search: in
File permission borked [solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Hack_Benjamin
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 158

PostPosted: Sat Jan 05, 2008 2:16 pm    Post subject: File permission borked [solved] Reply with quote

[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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5150
Location: Hamilton, Ontario

PostPosted: Sat Jan 05, 2008 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hack_Benjamin
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 158

PostPosted: Sun Jan 06, 2008 8:32 am    Post subject: Reply with quote

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
View user's profile Send private message
emerald
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2005
Posts: 98

PostPosted: Fri Jan 11, 2008 3:00 am    Post subject: Reply with quote

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 - :D ...
System Profile

Don't open the Red Door !
Back to top
View user's profile Send private message
mrbig4545
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 117
Location: Manchester, England

PostPosted: Tue Apr 22, 2008 10:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum