Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
File system permissions?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
thespacemonkey66
n00b
n00b


Joined: 21 Apr 2004
Posts: 10
Location: UK, Coventry

PostPosted: Thu Aug 05, 2004 11:15 pm    Post subject: File system permissions? Reply with quote

Well installed Gentoo (from stage 1) on my tablet PC (on a 6gb hard disk)... complete network install cos of no CD or floppy.

Anyway i got to liking Gentoo so i moved it to a 30GB hard disk... i literally just poked the 6gb in my desktop with the 30gb and booted into slackware on there and copied all the files, but that was apparently too easy and now my entire filing system is owned by root!

I checked it would boot and then formatted the 6gb (d'oh)

Can somebody tell me how to restore normal permissions? I have only one user, so i can 'chown tim /home/tim/* -R' ?

If i log in as tim i cant 'startx' or 'su root' (or su at all)... i can log in as root.

Please help.
Tim
Back to top
View user's profile Send private message
MHD
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2003
Posts: 88

PostPosted: Thu Aug 05, 2004 11:19 pm    Post subject: Reply with quote

I cant see why you couldnt just chown...

as long as only the owner changed and not the permissions (or you will run into problems with var, tmp etc....)
_________________
Pot of Grass Productions
http://www.potofgrass.com
Back to top
View user's profile Send private message
thespacemonkey66
n00b
n00b


Joined: 21 Apr 2004
Posts: 10
Location: UK, Coventry

PostPosted: Thu Aug 05, 2004 11:22 pm    Post subject: Reply with quote

Yeah i copied the entire root and home so my var tmp etc usr everything is owned by root.

Do you know how to correct it?

Tim
Back to top
View user's profile Send private message
MHD
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2003
Posts: 88

PostPosted: Thu Aug 05, 2004 11:25 pm    Post subject: Reply with quote

if its just owned by root its not a problem... var tmp and so on are (I think) what is important for them is that they have the right permissions so the right people can write to them...

I would think a chown -R on your home directories should work IF permissions are ok on your other FS

But you might want to wait for some advice from someone who has been at it a bit longer :)
_________________
Pot of Grass Productions
http://www.potofgrass.com
Back to top
View user's profile Send private message
thespacemonkey66
n00b
n00b


Joined: 21 Apr 2004
Posts: 10
Location: UK, Coventry

PostPosted: Thu Aug 05, 2004 11:28 pm    Post subject: Reply with quote

yeah i have chown'd my users account and that works - but he still cant do all the normal stuff like starting X or running some apps... atleast the dont do the normal things.

I need to make var and tmp and possibly others owned correctly... something like chmod 755 or 666 or something... but i dont dare do it cos i dont understand the octal numbers...

Tim
PS cheers for your help though
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
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