Serious messup
Okay, here's my story and question.
My family, unwittingly, made me dual-boot between Linux and Winsuck. Well, I got too pissed off at Winblows taking up space that I've removed it hd setup: hda1: winblows hda5: Linux Well, I formatted hda1, then, as root, cp'd all of the files on hda5 over to hda1 Well, now I'vemessed something up. Well, now things are retty messed up, everything is accesible by root only, and I don't ike that. :D I chmodded and chowned my home dir, but that isn't going to fix everything. so, I try to su to fix some of it and it says 'setgid: permission denied' Does anyone know a way to retain all the permissions from the other dirve? Sorry for the typos, writing in links which won't show me the whole text box. If someone could help me su, I could fix the rest on my own I think. Thanks for your time -- Andrew. |
Woops ...
If I were you, I'd boot back into the install weher everything works, and then use tar or dump/restore to move the files over. Either that, or cp everything again, only this time use cp's "archive" mode. man cp if you don't know what I'm talikng about. |
If you still have the source files then copy with "-a" to preserve the permisions or just move the files. Also make sure that your filesystem supports file permisions.
|
You guys were unbelievably quick, thanks a bunch.
I'm going to try that now. I'm sure it'll work as it's practically a clone. |
All times are GMT -5. The time now is 07:44 AM. |