You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't open JPEG files from NFS share

We keep all our data on a Linux server, and share it with our Macs (and Linux systems) via an automounted NFS share. (It's shared to Windows systems via Samba). For some reason, OS X refuses to open JPEG files on the share unless OS X was the one that put them there in the first place.

If we use a Mac to import pictures from a camera and stick them on the NFS mount, it works fine on Mac, Linux and Windows clients. However, apparently, if we use Linux or Windows to import pictures to the same NFS share, OS X can't deal with it...

What I'm seeing is that ALL OS X applications (including Preview) fail to open the JPEGs with the error that the file does not exist, which makes no sense considering that Finder is showing thumbnails of the files it says don't exist, and using Quick View (spacebar) in Finder to view the files works fine...but any "real" app (Preview, Photoshop Elements, iPhoto, etc) produces the error when you try to open the files. Note that this affects multiple folders, not just one; it appears to be any folder not created from the Mac.

The exact error in the system log looks like this:
Jun 6 22:52:44 macmini Preview[87461]: PVImageContainer initWithURL: file://localhost/mb/automount/share1/pictures/other_events/party_june2010/DSC09978.JPG failed, error = Error Domain=NSCocoaErrorDomain Code=260 UserInfo=0x111e503a0 "The file “DSC09978.JPG” couldn’t be opened because there is no such file." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=2 "The operation couldn’t be completed. No such file or directory")

which is complete crap since Finder can thumbnail the files and Quick view can display them. Also, Finder can copy the files from the folder to another location (say on a local disk) and then it can open the files, but if I try to copy a file into the NFS folder, it gives me an error about the folder not existing (which it obviously does).

At the UNIX level, OS X can deal with the folder just fine...I can copy images into and out of the folder with no issues, it's just Finder and the apps that barf. Also at the UNIX level, permissions are fine...the user in question has full write permissions to the folder and the files in it.

None of our Linux systems or Windows systems have any trouble with the files; it's only the Mac that can't deal with it. Even the WindowsXP VM that's running on the Mac in VMWare Fusion can open the files fine...

I suppose we could just reimport the pictures using the Mac, but that's stupid. Anyone have any ideas what's going on or how to clue the Mac in that the files are ok? Thanks!

Mac Mini 2.53GHz, Mac OS X (10.6.2)

Posted on Jun 6, 2010 11:31 PM

Reply

There are no replies.

Can't open JPEG files from NFS share

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.