martin
2006-Aug-16 10:46 UTC
[Samba] "read error" when accessing a file on mounted samba share (Linux)
Hi all, This is my first experience with network file sharing on Linux so I'm looking for debugging advice. Server and client are both running FC5. I've set up my home directory as a share on the server using system-config-samba, everything seems fine. On the client side, as root: # smbclient -L server.domain Password: Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.23a-1.fc4.1] Sharename Type Comment --------- ---- ------- myhome Disk IPC$ IPC IPC Service (Samba Server) Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.23a-1.fc4.1] Server Comment --------- ------- Workgroup Master --------- ------- MYGROUP ALEXANDER all looks good. This works fine: client# mount -t cifs //server.domain/myname /mnt/test -o username=myname and ls gives a directory listing. client# ll /mnt/test/test.txt -rw-rw-r-- 1 myname myname 1669 Jun 15 16:08 /mnt/test/test.txt but: # cat /mnt/test/test.txt cat: /mnt/test/test.txt: Permission denied I'm running as root, and the permissions seem fine as reported by ll. Any ideas how I could start to work out what's going wrong? It seems I can mount the share and list the contents, but not read the files, although the permissions indicate I should be able to. Please let me know if any more information would be helpful. Thanks, Martin
Thorsten Hamester
2006-Aug-16 12:01 UTC
[Samba] "read error" when accessing a file on mounted samba share (Linux)
Am 16.08.2006, 12:40 Uhr, schrieb martin <martin@getyourbadge.net>:> Hi all, > > This is my first experience with network file sharing on Linux so I'm > looking for debugging advice. Server and client are both running FC5. > I've set up my home directory as a share on the server using > system-config-samba, everything seems fine. On the client side, as root: > > # smbclient -L server.domain > > Password: > Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.23a-1.fc4.1]smbclient from package Samba 3.0.23a do have a bug. https://bugzilla.samba.org/show_bug.cgi?id=3967 Try 3.0.23b or 3.0.22 -- Thorsten Hamester