So I'm adding a new user on a machine to give a family member some remote storage. After setting up their login and home directory. Here's the stat
File: `/home/heather'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 831h/2097d Inode: 89128961 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 1002/ heather) Gid: ( 1004/ heather)
Access: 2014-09-09 17:57:37.059406231 -0400
Modify: 2014-09-09 17:37:32.449432887 -0400
Change: 2014-09-09 17:57:22.939336208 -0400
But they are not able to access it from either local or ssh
$ echo ~
/home/heather
$ cd ~
bash: cd: /home/heather: Permission denied
Unless I'm missing something big, the permissions seem fine.
Please note I've only ever run single-user setups before, I can't find anything similar to this after a good 20 minutes of searching, please don't crucify me if I've overlooked something simple.
finger heather
command? – Ramesh Sep 09 '14 at 23:14chmod -R 755 /home/heather
as a root user and then try again. – Ramesh Sep 09 '14 at 23:18Access: (0700/drwx------) Uid: ( 1000/ andrew) Gid: ( 1000/ andrew)
, i think this is the issue, not sure how best to fix – user2085282 Sep 09 '14 at 23:22chmod 755 /home
should fix this. – Warwick Sep 09 '14 at 23:49