[wellylug] /home/$user permissions

Jethro Carr jethro.carr at jethrocarr.com
Wed Mar 15 14:59:11 NZDT 2006


On Wed, 2006-03-15 at 14:09 +1300, Ian Beardslee wrote:
> oops ... in my playing around on my system I managed to stuff up some 
> permissions.  Well, actually I was doing the 'final' migration from 
> Windows 2000 to Ubuntu and root had ownership of sof of the files from my 
> old home directory.  So I'm just wondering ...
> 
> ... what are the correct/recommended owner and permissions for the /home 
> directory?

chmod 755


> ... what are the correct/recommended owner and permissions for the user 
> directory in /home?

chmod -R 700
chown -R user:user

(the -R makes it go though all the files in that directory)


> ... and finally, what are the correct/recommended owner and permissions 
> for the Lost&Found directory in /home?

chmod 700
chown root:root


this should get you going. :-)

-- 
Jethro Carr

www.jethrocarr.com
www.jethrocarr.com/index.php?page=cv/cv.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20060315/7be77fec/attachment.pgp 


More information about the wellylug mailing list