Project

General

Profile

Failing to work on mapped drives

Added by D Obbin about 10 years ago

Using exiv2 v0.22 I'm hitting a strange problem when accessing files on mapped drives. Using two sample files, one NEF and one JPG exiv2 fails to read the files on a CIFS mount. However I copy the same files to a local drive and exiv2 works fine.

From the CIFS mount ...
exiv2 DSC_3071.JPG DSC_3071.NEF
DSC_3071.JPG: Failed to open the file
DSC_3071.NEF: Failed to open the file

Just to prove there aren't any silly permissions problems, a "head -1 <filename>" returns the expect garbage.

From a local copy ...
exiv2 DSC_3071.JPG DSC_3071.NEF
DSC_3071.JPG File name : DSC_3071.JPG
DSC_3071.JPG File size : 3951704 Bytes
DSC_3071.JPG MIME type : image/jpeg
DSC_3071.JPG Image size : 3872 x 2592
DSC_3071.JPG Camera make : NIKON CORPORATION
DSC_3071.JPG Camera mode....

Is this a known issue ? is there a work around ? I've search on the subject and not found anything of use.

I've attached a couple of strace files in the hope that somebody will be able to guide me.

TIA

Dobbin.