[Samba] Help: File is present (via Samba) but cannot be opened?

Russell Packer russell.packer at arnoldinteractive.com
Tue Oct 5 16:55:35 GMT 2004


> Daniel Barrett
> Sent: 05 October 2004 17:46
> To: samba at lists.samba.org
> Cc: Daniel Barrett
> Subject: [Samba] Help: File is present (via Samba) but cannot be
opened?
> 
> 
> When I mount a Windows XP partition (NTFS) on my SuSE 9.1 machine via
> Samba 3.0.4, I find some files can be listed (via "ls") but
mysteriously
> cannot be opened, even though the file permissions appear fine.  What
> is a good way to track down this sort of problem?
> 
> Here's an example where I "cd" into a samba-mounted directory and try
to
> open a file that I know is present.  It cannot be opened, but I can
list
> it by wildcard so the shell does see the directory entry.  ALL OTHER
> FILES in the directory are fine, it's just this one that is
> problematic.
> 
> # cd '/mnt/sirius/g/Work/Mac_Home/MANUSCRIPTS/AF and HB detection'
> 
> # /bin/ls -l PsyScience.cove.otes.031203.doc
> /bin/ls: PsyScience.cove.otes.031203.doc: No such file or directory
> 
> # /bin/ls -l PsyScience.cove.otes.031203.do*
> -rwxr-xr-x  1 root root 54272 Mar 13  2003
PsyScience.cove.otes.031203.doc

I'm battling with the same problem at the moment as well. I'm hoping
(fingers crossed!) that using "cifs" as the filesystem type will resolve
the issue. Of course, this means moving from my current 2.4 kernel to a
2.6 one... and it takes a little while to re-compile on my p500!



More information about the samba mailing list