There is an installation manual specifically for WeBWorK 2.8 on Ubuntu 12.04, so you should probably follow the instructions there (though I don't think the permissions section has changed at all since then, so the permissions commands are probably identical in the link I posted).
I believe that SELinux is a Red Hat thing, so you probably won't find it on Ubuntu.