[nmglug] messed up permissions!

Brian O'Keefe okeefe at cybermesa.com
Mon Apr 10 07:44:37 PDT 2006


On Monday 10 April 2006 8:15 am, Gary Sandine wrote:
Here's the output of the commands. I'd appreciate you looking at them just to 
confirm what you already know. I don't want to mess anything up even worse.
This makes sense as I didn't recall seeing all of these 1000's all over my 
home directory until I started investigating the problem. Also, when I 
couldn't login to Ubuntu because the disk was full, not even a failsafe 
terminal, I changed permissions from OS X for /home in the Ubuntu volume. So 
I guess I crossed things up.
anyway, get back and let me know that I can proceed w/o fear of bunging things 
up.
Very appreciated.
[Brian-OKeefes-Computer:~] brianoke% echo $UID
tcsh: UID: Undefined variable.
[Brian-OKeefes-Computer:~] brianoke% grep 
brianoke /volumes/UNTITLED/etc/passwd
brianokeefe:x:1000:1000:BrianO'Keefe,,,:/home/brianokeefe:/bin/bash


> On Sun, Apr 09, 2006 at 11:10:51PM -0600, Brian O'Keefe wrote:
> > On Sunday 09 April 2006 10:34 pm, Gary Sandine wrote:
> > I did before and got the same result so I ran:
> > [Brian-OKeefes-Computer:~] brianoke% ls -al /volumes/UNTITLED/home*
> > total 20
> > drwxr-xr-x    3 brianoke wheel        4096 Oct 15 17:41 .
> > drwxr-xr-x   22 brianoke wheel        4096 Apr  8 09:17 ..
> > -rw-r--r--    1 root     wheel        6148 Oct 18 14:04 .DS_Store
> > drwxr-xr-x   88 brianoke 1000         4096 Apr  9 11:19 brianokeefe
> >
> > Is this what you are looking for?
>
> Yeah, I think I know what's going on.  I bet your UID (numeric
> User ID) in Ubuntu is 1000 and your UID in OS X is some other number.
> Your Ubuntu home directory is owned by the OS X UID, not the Ubuntu
> UID.
>
> What does this report?
>
> grep brianoke /volumes/UNTITLED/etc/passwd
>
> If your UID is 1000 (I bet that's what it is), do this:
>
> chown -R 1000 /volumes/UNTITLED/home/brianoke
>
> and you should be good.  Your OS X UID is some other number.  See
> it by logging in to OS X as user brianoke and doing:
>
> echo $UID
>
> in a terminal.




More information about the nmglug mailing list