Thanks, Thomas for good explanation.
Lev Shamilov,
[EMAIL PROTECTED]
On Thu, 8 Aug 2002 01:33:45 +0200
"Newsmirror" <[EMAIL PROTECTED]> wrote:
>
> Hi Lev,
>
> A I was fiddling around with "lredirect" and "redirect"
> just some hours ago. I came to the conclusion that when
> using "lredi
I wouldn't set levels at 777, either way, but... Likely it is unable to make
the dir $dirname because it doesn't have permission to make a dir in the dir
where you want to make it. I would think chown'ing the dir that you will be
mkdir'ing $dirname in to allow whatever user your perl script is r
I thought 'mkdir($dirname, 0777);' would do that?
Or do I need to set all the previous levels to 777 as well?
Phin
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
> [EMAIL PROTECTED]
> Sent: 09 August 2002 18:19
> To: [EMAIL PROTECTED]
> Subj
Is this on a windows or linux system? What user is your perl script running
as? My assumption would be that the user your perl script runs as does not
have permissions to write to the directory/file(s) that you wish to write
to, but that when you login to test it you login as root/admin and the
Hi,
Being a bit of perl newbie and therefore completely lost as to how to
write a script, I have put together in the grim hope that it would work
this:
#!/usr/bin/perl -w
READ IN NAME
$filename = $ARGV[0];
SET UP DIRECTORY
$dirname = "spam/";
MAKE DIRECTORY
mkdir(