>
> This will tell you why or how something might be going wrong and what your
> pwd is. Also, you should check the parent directory in which you are
> trying to make this directory for directory permissions (seteuid) which can
> cause the directory to be created the same as the parent directory.
You should do some error checking...
#!/usr/bin/perl -w
use strict;
use Getcwd;
my $dir = "cody";
mkdir("$dir",0770) or warn("Could not mkdir $dir in ".getcwd.": $!\n");
This will tell you why or how something might be going wrong and what your
pwd is. Also, you should check the parent direc
On Sat, Jul 07, 2001 at 10:48:14AM -0500, [EMAIL PROTECTED] wrote:
> #!/usr/bin/perl -w
>
> use strict;
>
> my $dir = "cody";
> mkdir("$dir",0770);
>
>
> i am running this in my home directory on a linux machine, so i have full
> rights. when i run this however, the permissions on the director
#!/usr/bin/perl -w
use strict;
my $dir = "cody";
mkdir("$dir",0770);
i am running this in my home directory on a linux machine, so i have full
rights. when i run this however, the permissions on the directory are:
drwxr-x---2 cmenzes cmenzes 1024 Jul 7 10:39 cody/
which translates