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
same machine)
Its giving "cat: ash: Permission denied" problem.
<Samba settings>
[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
[global]
workgroup = OPENNA
server string = R&D of Open Network Architecture Samba Server
log file = /var/log/samba/log.%m
[tmp]
comment = protocols Directory
path = /tmp
guest ok = Yes
hosts allow = 192.168.5.2
<Mountinfg>
[root at magic mnt]# mount -t cifs //192.168.5.2/tmp /mnt/tmp -o
username=xruser,pass=test123
<Accessing>
[root at magic tmp]# ll
total 392
-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
-Thanks,
Ashish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 63349 bytes
Desc: Outlook.jpg
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100707/9f5b7ba8/attachment-0001.jpe>
More information about the samba-technical
mailing list