[nmglug] messed up permissions!

Gary Sandine gars at laclinux.com
Mon Apr 10 07:15:34 PDT 2006


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.

-- 
Gary Sandine <gars at laclinux.com>




More information about the nmglug mailing list