[nmglug] messed up permissions!

Brian O'Keefe okeefe at cybermesa.com
Mon Apr 10 19:02:15 PDT 2006


On Monday 10 April 2006 12:17 pm, Gary Sandine wrote:
Hi again.
I logged in as root into Ubuntu and checked permissions/ownership:
root at ubuntu:/home# ls -al
total 20
drwxr-xr-x   3  501 root        4096 2005-10-15 17:41 .
drwxr-xr-x  22  501 root        4096 2006-04-08 09:17 ..
drwxr-xr-x  88  501 brianokeefe 4096 2006-04-10 19:34 brianokeefe
-rw-r--r--   1 root root        6148 2005-10-18 14:04 .DS_Store

I decided not to run the commands below as I was running OS X  when I got the 
"1000" ID. My OS X ID is "501" so I didn't know how or if I should change it. 
So please clarify if I can run the command as you state it below in OS X or 
if I should log into Ubuntu and run it or a different one.
Sorry for the confusion on my part and thanks for the patience on yours.


> On Mon, Apr 10, 2006 at 09:18:14AM -0600, Brian O'Keefe wrote:
> > On Monday 10 April 2006 8:15 am, Gary Sandine wrote:
> > I ran the command and got "permission denied" for every file. I assume I
> > just run the command as "sudo" but I really want to be sure. There are
> > alot of files that will be changed-probably rightly so. Just really
> > cautious.
> >
> > [Brian-OKeefes-Computer:~] brianoke% chown -R
> > 1000 /volumes/UNTITLED/home/brianokeefe
> > chown: changing ownership of `/volumes/UNTITLED/home/brianokeefe':
> > Operation not permitted....
> > and on for many files.
>
> sudo chown -R 1000 /volumes/UNTITLED/home/brianokeefe
>
> I would also revert /home to its usual state (I think I saw it
> owned by OS user brianokeefe in an earlier e-mail):
>
> sudo chown root /volumes/UNTITLED/home




More information about the nmglug mailing list