Instead of locking the users in their home directories, why don't you just jail all of /home?
Then just change all the permissions under /home to rwx-r-x---
Code:
chmod -R 750 /home/*
The files under those directories should be rwx-r----
Code:
chmod -R 740 /home/*/
This way you can share between /home directories, but each user can't modify any files that are not their own.
This is the only way I know how to do it without breaking the jail.
For files that you don't to share you can change the permissions on the files or folder to rwx-------- this way only the owner of the file/directory can access and read it.
Code:
chmod 700 /path/to/file