Quote:
Essentially, I want to give some users access to a directory (say for the sake of discussion, /var/www/forum). I don't want these users to have access to ANYTHING else, just that directory.
Do you mean read access or write access?
If you mean
write access, the best way to do this would be to (1) create a group, (2) make the directory owned by the group, (3) change the directory's permissions to 775, and (4) add the relevant users to that group. Just as marcus0263 said.
But if you mean
read access, the above just won't do. Lots of system files are owned by root but have their permissions set to 644, which means that anyone with an SSH account on your server -- or worse, any PHP script without an open_basedir restriction -- can read them whenever they want.
FTP has a very effective protection against this; most modern FTP servers will jail each user to his/her home directory. (That's one way in which the inherent insecurity of FTP gets somewhat mitigated...) But in order to achieve the same effect with SSH/SFTP, you'll have to look into chrooting SSH.
Anyway, I don't know what you're trying to do with this kind of setup, but why can't you just let the forum software manage permissions? UNIX users and groups are a totally different thing from users and groups in your average PHP forum (or whatever else you're using).