I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-04-23 22:40:25-07 by setarcos
Net::SFTP dies when it is unable to change the attributes of a local file
I noticed that Net::SFTP dies if it is unable to set the attributes on a file after it has been transferred from a remote host. This is a problem if you have a file system that doesn't honor *NIX type permissions (ala a Samba mounted Windows share). The following lines in SFTP.pm appear to be to blame:
chmod $mode, $local or croak "Can't chmod $local: $!"; utime $a->atime, $a->mtime, $local or croak "Can't utime $local: $!";
Perhaps failures on can be a little less severe?
Direct Responses: Write a response