Red Hat Bugzilla – Bug 186556
Can't read files from a samba share
Last modified: 2007-11-30 17:11:28 EST
Description of problem:
When browsing files on a samba share via nautilus I get an error if I try to
read any of the files, although they are listed correctly
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Browse to a samba share via nautilus
2. Perform any operation which requires the file to be read
An error message is produced. The exact error varies depening on the action.
If I copy a file with nautilus I get:
Error "Not a directory" while copying smb://bi-ne...FILENAME.jpg
If I try to open an image in Gimp I get:
Could not open '/home/andrewss/smb://bi-netapp1a/andrewss/DSCF0103.jppg for
reading: No such file or directory
Files should be read correctly.
All browsing operations work OK. I am working on a protected share and am
correcly prompted for authentication. I can see all files as expected and I can
even view their properties correctly, it's only when I try to open them that
The samba shares are mounted from a netapp file server (if that matters)
I've opened up the samba ports using system-config-securitylevel. The
ip_contrack_netbios_ns iptables module is loaded.
There are no messages at all in /var/log/samba/ and nothing relevant in
This: /home/andrewss/smb://bi-netapp1a/andrewss/DSCF0103.jppg is not a valid
path name. Seems to be a nautilus error, Nautilus need to mount the share using
smbfs/cifs vfs to let normal applications read files, or copy the file locally.
Not a samba bug.
Not all applications support gnome-vfs which is used to read stuff over samba
However, you should be able to copy the file to locally with nautilus, can you
describe what you do in that error case in more detail.
To be honest I'd forgotten about this bug submission it was that long ago.
I just checked on a fully updated system and it seems that something between
last March and now has fixed it. It all worked fine on the shares on which it
used to fail.
Please feel free to close it.
Thanks, closing then.