Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Perl/CGI: writing a new subdirectory - August 14, 1998 at 13:20:22

You are here: irt.org | BBS | Re: Perl/CGI: writing a new subdirectory [This BBS is closed]

Posted by Jason Nugent on August 14, 1998 at 13:20:22:

In Reply to: Perl/CGI: writing a new subdirectory posted by Jason B. on August 14, 1998 at 11:36:02:

: I am working with a Perl script that needs to, at a certain stage, create a new subdirectory named after a variable gathered from a previous form.
: Using the Perl function 'mkdir' fails to actually create the new subdir.

: Is there a quick and painless way to get this to happen?

: Thanks for your help!!!

In order for your CGI script to be able to create a directory (inside another directory), it needs WRITE permission on the parent directory, as user "other". Make your parent directory, and the chmod it to something at least like this:

chmod o+w dir_name

and then try it again.

Jason
Follow-ups:

You are here: irt.org | BBS | Re: Perl/CGI: writing a new subdirectory [This BBS is closed]

©2018 Martin Webb