Trying to create a directory via my script rather than through plesk, but it doesn't happen and there is no error message in the server logs.
The server permission have been chnaged to allow this task. what am I getting wrong?Code:use Cwd; my shortened web_url ='example.com'; # without the www. my $newdir = '/var/www/vhosts/'; chdir($newdir) || die "can't change dir to $newdir $!"; print 'New Current directory: ', cwd(), "\n\n"; # seems OK mkdir "$shortened_web_url", 0755 || die "can't create dir $!";