LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-16-2009, 07:32 PM   #1
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
LOL..I did it again, as root! Damn it Jim! Help!(SOLVED)


LOL, playing around, as root, and chowned the partition containg my new sidux-2009-xfce
FRUGAL install
and now if I try to become root or open root terminal

Code:
sidux@sidux:~$ sux
sudo: /etc/sudoers is owned by uid 1000, should be 0
Segmentation fault
Damn it Jim!
WHY!?

LOL, being that it's frugal I can simply delete all the rw stuff and start anew
but would have to re-install/re-update flash10, etc

I often "chown" the partition(s) containg the frugal's so's I can
edit stuff, move stuff, etc as root

ROOT!
see, this why we don't run as root Linus!

so, I did
chown -R bz /media/disk

from Ubuntu-9.04 to sidux partition

other day I ACCIDENTLY did
chown -R bz /

BANG!$^**&%#

full re-install of ubuntu please
tsk-tsk

I was trying to chown the usb and hit enter before hitting media/disk
der

so, can I fix it or ditch it?

LOL, this 2nd time this happened today
1st time I thouhgt it was sidux bug..
now, at least I know...

chown baby!

Last edited by linus72; 07-17-2009 at 07:37 PM.
 
Old 07-16-2009, 09:08 PM   #2
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
Well... you could change the ownership of etc/sudoers of your sidux from your Ubuntu installation. That wouldn't fix rest of the faulty ownerships though...

I'm not really sure what you're trying to accomplish by changing the ownership of every file in the filesystem. Surely it will break any Linux installation?

Last edited by alienDog; 07-16-2009 at 09:11 PM.
 
Old 07-16-2009, 09:10 PM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
yea
good thing it's frugal...

this time I'll clone it after I hook it up

how should I get permissions over a partition without screwing up sudoers??

is it possible?

thanks also
 
Old 07-16-2009, 09:28 PM   #4
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
Er... yes, it's possible. Be root
 
Old 07-16-2009, 09:35 PM   #5
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
that's what I did
oh, so I should become root in Ubuntu and issue gnome file manager as root?
what's gnome file manager
nautilus or what?
 
Old 07-16-2009, 09:42 PM   #6
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
Yep. Nautilus is the thing. Just be careful...

If I understand correctly, your sidux resides on a real unix-style filesystem. That means that it also gets treated as such under your Ubuntu installation, with the permissions and all that in place. As far as I know it's not possible to override that. If it's on some other (non-unix) filesystem, it might be possible to use a mount option that sets the owner of the files on it upon mount. See man mount for that.
 
Old 07-16-2009, 09:45 PM   #7
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
yea itt's all ext3 dude
no dindows here
 
Old 07-16-2009, 10:29 PM   #8
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
Ok, so it's Nautilus as root with extra caution then
 
Old 07-17-2009, 07:35 PM   #9
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
OK
that is what it is
you can't CHOWN a partition holding debian or debian based or it freaks out

ubuntu doesn't do this, I've chowned ubuntu on another partition as root
and no bad stuff

Note to self:no more chowning dude
 
Old 07-17-2009, 07:37 PM   #10
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Original Poster
Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
how do i mark it as solved??
EDIT:OH I got it

Last edited by linus72; 07-17-2009 at 07:40 PM.
 
Old 07-17-2009, 07:40 PM   #11
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by linus72 View Post
how do i mark it as solved??
Thread Tools
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google's Knol: it's a Wikipedia Jim but not as we know it LXer Syndicated Linux News 0 10-01-2008 01:41 PM
Damn Small, damn annoying with d-link DWA-130 wireless N USB freezerburn666 Linux - Hardware 5 09-09-2008 05:28 PM
Earth Worm Jim zas Linux - Games 1 06-12-2007 01:41 PM
LXer: Jim Bublitz Talks About PyKDE LXer Syndicated Linux News 0 09-10-2006 12:54 AM
LXer: Jim Gray, a genuine guru... LXer Syndicated Linux News 0 05-30-2006 12:33 PM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration