LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   cifs - "READ ERRORS" (https://www.linuxquestions.org/questions/linux-networking-3/cifs-read-errors-454612/)

snoopy78m 06-14-2006 04:38 AM

cifs - "READ ERRORS"
 
Hi!

I mounted a Windows Folder with Samba/CIFS on my Fedora 5 machine.
Here is the entry of the fstab

Code:

//192.168.55.123/share  /share  cifs  uid=502,gid=502,username=xxx,password=xxx,rw,auto 0 0
The directory on the windows machine is empty.

Then I created a file in the /share directory on Fedora with some random content:

Code:

$ vi test

Code:

Hello
123
~
~
~

When I change to the windows machine and open the file with the editor I can read it.

But when I want to open the file again with vi, I'm getting this error:

Code:


~
~
~
~
~
~
~
~
"test" [READ ERRORS] 0L, 0C

Some ideas:

The /share directory before I mount it:

Code:

drwxrwxrwx  1 snoopy snoopy    4096 14. Jun 10:18 share
and after I mounted it:

Code:

drwxrwxrwx  1 snoopy snoopy    0 14. Jun 10:18 share
--> The size is different. Why?

Here is an ls -la in the /share directory:

Code:

drwxrwxrwx  1 snoopy snoopy    0 14. Jun 11:33 .
drwxr-xr-x 27 root      root      4096 14. Jun 11:31 ..
-rw-rw-r--  1 snoopy snoopy  10 14. Jun 11:32 test

Any ideas because I'm not able to open the created file again in order to read or change it?

Thanks a lot!!

snoopy78m 06-15-2006 10:01 AM

Maybe I have to put the question in a different way.

Is it possible to create AND change files on a cifs mounted Windows Samba Network folder?

Is my fstab entry ok?

Thanks!!


All times are GMT -5. The time now is 07:15 AM.