TheOmegaCode
Platinum Member
I'm having some trouble trying to set up permissions. I've never really used permissions, other than the occasional file, so this is new to me. I've read the manpage on CHMOD as well as the FBSD Manual page on Permissions but they haven't really cleared anything up for me. Maybee it's just to damn early for me to be reading...
My work wants me and another intern to setup a web server. That part is easy. Now they want user specific folders underneath the webroot. It would look like this, /usr/local/www/data/%username%. The goal is for %username% to be able to upload to their own folder so they can essentially have their own website. Right now this is just a pilot project so it looks like http://127.0.0.1/%username%. The problem, for me, comes in when I was asked to do yet another thing. They want these users to be able to ftp into their home directory and only see their home directory. So they are to have rwx in data/%username% but --- in everything else. I spent a few hours configuring my box, and I'd really like it if I don't lock myself out. So I figured I'd ask questions before I tinkered.
I'm also going to be reading up on quotas and an easier way to create 50 some odd users in one fell swoop. So any help would be greatly appreciated.
My work wants me and another intern to setup a web server. That part is easy. Now they want user specific folders underneath the webroot. It would look like this, /usr/local/www/data/%username%. The goal is for %username% to be able to upload to their own folder so they can essentially have their own website. Right now this is just a pilot project so it looks like http://127.0.0.1/%username%. The problem, for me, comes in when I was asked to do yet another thing. They want these users to be able to ftp into their home directory and only see their home directory. So they are to have rwx in data/%username% but --- in everything else. I spent a few hours configuring my box, and I'd really like it if I don't lock myself out. So I figured I'd ask questions before I tinkered.
I'm also going to be reading up on quotas and an easier way to create 50 some odd users in one fell swoop. So any help would be greatly appreciated.