View previous topic :: View next topic |
Author |
Message |
Steve Cave n00b
Joined: 15 Jan 2009 Posts: 28 Location: Madison, WI
|
Posted: Thu Jan 15, 2009 1:27 am Post subject: [SOLVED] Private home directory |
|
|
Hello! I would like to make my home directory private so that other users cannot see my files. Is the proper way to do this simply to change my home directory's permissions to 700? Will a private home directory break any programs? Thanks in advance!
Last edited by Steve Cave on Fri Jan 16, 2009 1:11 am; edited 1 time in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Thu Jan 15, 2009 1:54 am Post subject: |
|
|
Code: | /home/daffy $ l /home/
total 20
drwx------ 37 daffy users 4096 2009-01-14 19:50 daffy/
drwx------ 2 root root 16384 2008-12-18 14:51 lost+found/
|
Works fine here. |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Thu Jan 15, 2009 1:58 am Post subject: |
|
|
It's not a problem--in fact, I thought it was the default. Some things even require it. For example, unless configured otherwise, SSH denies login to users whose home directories are writable by others.
Code: | bandit@rockchuck ~ $ ll -d /home/b*
drwx------ 36 bandit users 8192 2009-01-14 20:55 /home/bandit | No trouble at all.
Edit: OK, I know I'm slow but there's no way that took me four minutes.... _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
Steve Cave n00b
Joined: 15 Jan 2009 Posts: 28 Location: Madison, WI
|
Posted: Thu Jan 15, 2009 2:02 am Post subject: Reply |
|
|
Ok, thank you both! |
|
Back to top |
|
|
|