[Chicago-talk] CGI umask
jason scott gessner
jason at multiply.org
Tue Mar 2 23:04:15 CST 2004
ok, this is driving me batty.
I am calling this inside a module called from a CGI in apache:
my $old_mask = umask 000;
mkdir ($gallery_base_dsk . "$gallery_name/thumbnails", 0777);
umask $old_mask;
hoping to get a 777 directory out of this.
Instead, when I ls -ld, I get this:
drwxr-xr-x 2 apache apache 4096 Mar 2 20:59
bride2/thumbnails/
what gives?
-jason
More information about the Chicago-talk
mailing list