Samba gets the listing but not read the files
Mehta, Ashish N (GE Healthcare)
Ashish.Mehta1 at ge.com
Wed Jul 7 05:01:39 MDT 2010
Dear Samba Experts,
I am having peculier problem in samba configuration. I am able to mount
the shared folder but not able to read the file.(even if both are on
Its giving "cat: ash: Permission denied" problem.
[root at magic tmp]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[ashish]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
workgroup = OPENNA
server string = R&D of Open Network Architecture Samba Server
log file = /var/log/samba/log.%m
comment = protocols Directory
path = /tmp
guest ok = Yes
hosts allow = 192.168.5.2
[root at magic mnt]# mount -t cifs //192.168.5.2/tmp /mnt/tmp -o
[root at magic tmp]# ll
-rw-r--r-- 1 root root 19 Jul 7 15:16 ash
-rw------- 1 root root 391549 Jul 7 16:02 etherXXXXmttJYu
[root at magic tmp]# cat ash
cat: ash: Permission denied
TCPDUMP is as below
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 63349 bytes
More information about the samba-technical