Skip Menu |

This queue is for tickets about the Net-SFTP-Foreign CPAN distribution.

Report information
The Basics
Id: 40447
Status: resolved
Worked: 1.9 hours (115 min)
Priority: 0/
Queue: Net-SFTP-Foreign

People
Owner: salva [...] cpan.org
Requestors: odunbar [...] adeptra.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.44
Fixed in: (no value)



Subject: Handling of Extended File Attributes
When doing an ls on a remote server if the server returns files that have extended attributes (this occured when accessing a Unix VM running on OS/390) the extended attributes are not read from the buffer leading to corruption and invalid data in the file list. I added the following code to new_from_buffer in Attributes.pm (following the ATTR_ACMODTIME block) to correctly decode the extended attributes. if($self->{flags} & SSH2_FILEXFER_ATTR_EXTENDED) { $self->{ext_count} = $buf->get_int32; my $i = 0; while($i < $self->{ext_count}) { $self->{ext_name}[$i] = $buf->get_str; $self->{ext_data}[$i] = $buf->get_str; $i++; } } I didn't make any provision for setting of extended attributes.
I have uploaded version 1.45_02 to CPAN that supports extended attributes. Unfortunately, I don't have access to any server using them so it is a completely untested feature and I would appreciate any feedback about it. Cheers, - Salva
Hi, I would really appreciate if you could send me some feedback on this. Could you try the latter module version form CPAN (currently, 1.45_07) and tell me if it works for you? Regards, - Salva
Subject: Out of Office AutoReply: [rt.cpan.org #40447] Handling of Extended File Attributes
Date: Fri, 7 Nov 2008 05:48:46 -0500
To: Salvador Fandino Garcia via RT <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: Oliver Dunbar <oliver.dunbar [...] adeptra.com>
I am out of the office on annual leave and will be returning on 25th November. Please contact Mike Meehan (mmeehan@adeptra.com) for any assistance in my absence. Oliver Dunbar Director of Infrastructure Adeptra Ltd http://www.adeptra.com Mob: +44 7765 043 908 Tel: +44 118 923 2238 Email: odunbar@adeptra.com Adeptra Limited is a limited company registered in England and Wales under company number 3295455 and whose registered address is 200 Brook Drive, Green Park, Reading, Berkshire, RG2 6UB
No further feedback received from the reported. Assume it was fixed.