I've been toying a bit with an old copy of Corel Linux, Apache 1.3, and Perl 5.004. I was interested in creating a script (C code) where a user can create a directory by entering it's name via a form.
This directory will then have files created by other C style scripts, so the directory needs the appropriate permissions. On the *nix specific faq page, there was sample code demonstrating how to create files with permissions, but as I recall the sample didn't go into detail of what each setting does. I am a novice at best when it come to the Linux operating system. My question is, is it possible to create a directory as described above setting the permissions so that /cgi-bin/ has read/write privileges? If so, I'd appreciate a link to a reference or a brief sample.Code:<form action="/cgi-bin/mybin" method="POST">...</form>