View previous topic :: View next topic |
Author |
Message |
thespacemonkey66 n00b
Joined: 21 Apr 2004 Posts: 10 Location: UK, Coventry
|
Posted: Thu Aug 05, 2004 11:15 pm Post subject: File system permissions? |
|
|
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 |
|
|
MHD Tux's lil' helper
Joined: 18 Jun 2003 Posts: 88
|
Posted: Thu Aug 05, 2004 11:19 pm Post subject: |
|
|
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 |
|
|
thespacemonkey66 n00b
Joined: 21 Apr 2004 Posts: 10 Location: UK, Coventry
|
Posted: Thu Aug 05, 2004 11:22 pm Post subject: |
|
|
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 |
|
|
MHD Tux's lil' helper
Joined: 18 Jun 2003 Posts: 88
|
Posted: Thu Aug 05, 2004 11:25 pm Post subject: |
|
|
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 |
|
|
thespacemonkey66 n00b
Joined: 21 Apr 2004 Posts: 10 Location: UK, Coventry
|
Posted: Thu Aug 05, 2004 11:28 pm Post subject: |
|
|
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 |
|
|
|