in reply to
A bug in PERL or a bug in the server?
chmod
wants the mode (0777 in your example) first. Go read the docs on this one (follow the link).
Comment on
Re: A bug in PERL or a bug in the server?
In Section
Seekers of Perl Wisdom