Hey, I am having problems with perl's mkdir function, I can't seem to set any permissions. The script is running on Solaris 2.5.1.
$MODE = "0777";
$Dir = "/tools/build/Operate1.2";
mkdir ($Dir, $MODE) || die "Could not make directory $Dir: $!\n";
when I ls the directory it has the following permissions
dr--x--x
do I have to use umask? If I do, how do I?
$MODE = "0777";
$Dir = "/tools/build/Operate1.2";
mkdir ($Dir, $MODE) || die "Could not make directory $Dir: $!\n";
when I ls the directory it has the following permissions
dr--x--x
do I have to use umask? If I do, how do I?