[CoLoCo] permission question

Jim Hutchinson jim at ubuntu-rocks.org
Sat Mar 29 18:05:31 GMT 2008


On Sat, Mar 29, 2008 at 11:53 AM, Darrin Goodman <darrin.goodman at gmail.com>
wrote:

> > However, for whatever reason it wasn't working so I tried to "fix" it by
> chmod-ing to 655
> > (I thought this was the default perms for /home) but it didn't help so I
> > bumped it up to 777. It still didn't work and I don't know why.
>
> Jim, I think that generally the user and group are both set to the
> user name (leina).  It looks like you've got 777 as your group and
> leina as the user.  Try this:
>
> $ sudo su
> $ cd /home
> $ chown leina:leina leina
> (This will set the the user and group as leina to the directory
> /home/leina.)
>
> Then make sure that your permissions are set to 755 (drwxr-xr-x):
> $ chmod 755 leina
>
> This would look something like:
> drwxr-xr-x 30 leina leina 4096 2008-03-29 11:40 leina
>
> Hope that helps.
>
>
Okay, I'm getting it about right. However, all the directories are set to
drw-r--r-- (i.e. no x). Is there a way to change the dirs to 755 or 655 or
whatever is right without doing it one by one? Using -R will affect files
too I suppose.

Thanks
-jim
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20080329/7c4efd80/attachment.htm 


More information about the Ubuntu-us-co mailing list