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

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to