I've got an account on a shared Linux host, with a home directory at /home/jstrout
. My web files are served via a directory called /home/strout/strout.net
.
Now I my wife wants to add some content in a subdirectory on my web site. I added her as a user to my account, which created a new login for her, with a home directory at /home/mmstrout
on the same machine.
Now I want to give her a subdirectory under strout.net that she can write to, and I've been stymied at every turn. I don't have sufficient privileges to chown anything to her, so I've (temporarily) set 777 permissions on the directory:
drwxrwxrwx 23 jstrout pg42801 4096 Nov 20 12:33 strout.net
Yet from her account, I still can't cd into this directory, nor mkdir a subdirectory within it:
$ pwd
/home/mmstrout
$ mkdir /home/jstrout/strout.net/mstrout
mkdir: cannot create directory ‘/home/jstrout/strout.net/mstrout’: Permission denied
$ cd /home/jstrout/strout.net
-bash: cd: /home/jstrout/strout.net: Permission denied
What could be causing this, and how do I work around it? Could it have something to do with ACLs (which still seem like arcane magic to me)?
ls -ld /home /home/jstrout
?