Re: permission denied into $home

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dale Farnsworth
Date:  
To: plug-discuss
CC: 
Subject: Re: permission denied into $home
Craig White wrote:
> On Sun, 2006-03-26 at 03:17 +0000, Dale Farnsworth wrote:
> > In article <>  wrote:
> > > > Mike could/should provide more information. 
> > > root@2[home]# ls -ld / /home /home/bmike1 /home/
> > > bmike1/.bashrc 
> > > drwxr-xr-x   18 root     root         4096 2006-03-25 
> > > 07:00 / 
> > > drwxr-xr-x    6 root     root         4096 2006-02-21 
> > > 19:56 /home 
> > > drwxrwxrwx   55 bmike1   bmike1       4096 2006-03-24 
> > > 22:41 /home/bmike1 
> > > -rw-rw-rw-    1 bmike1   bmike1        123 2006-02-21 

> >
> > The permissions of /home/bmike1 are obviously wrong.
> >
> > This is one of those rare times when the original error message
> > pointed precisely at the problem.
> ----
> ;-)
>
> chmod -R +x /home


You do *not* want to make all files and directories under /home
executable. You'll have to be more selective. This should take
care of the directories:

    find /home -type d -print0 | xargs -0 chmod +x


If you have files that should be executable, perhaps in
/home/bmike1/bin, do something like:
    chown +x /home/bmike1/bin/*


> (optional)
> chmod -R g-w,o-w /home/bmike1
> # but I think you are a one user system so it probably doesn't matter


Yes, this is a good idea, I'd include everything under /home:

    chmod -R go-w /home


-Dale
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss