From: "Siegfried Heintze" <[EMAIL PROTECTED]>
> I'm still trying to install bugzilla by running the checksetup.pl on
> windows.  According to the instructions, I edit the code to
> accommodate windows:
> 
>     my $webservergid =  'Administrator'; #
>     getgrnam($my_webservergroup); # 
> 
>     # chown needs to be called with a valid uid, not 0.  $< returns
>     the
> 
>     # caller's uid.  Maybe there should be a $bugzillauid, and call
>     with
> that
> 
>     # userid.
> 
>     chown $<, $webservergid, glob('*');
> 
> This statement is dying! How do I change ownership of a file using
> chown on windows?

You can't. You'd have to use Win32::Perms something to do that.

In this case it'd be easier to set the owner by hand. Or keep the 
owner intact and just give modify permissions to the user used by 
your web server.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to