On Thu, 2005-05-12 at 16:34 +1000, Zhendong Zhou (Kyle) wrote:
> Another strange thing happens is
> I try to mount /dev/hdb5 (a NTFS logical drive) to /home/samba/public using:
> mount /dev/hdb5 /home/samba/public
> and then stop and start samba.
> Now I cannot browse the public dir on samba from my XP. My goddess!


This is definitely a permission issue.

When you mount the Partition, i believe you're mounting either as User
or as Root and you may not have permitted read access.

eg: in /etc/fstab
/dev/hda2               /mnt/xp         ntfs
nls=utf8,uid=0,gid=0,umask=0222,ro,noatime      0 0

Note the UID/GID/Umask 



> ----- Original Message ----- 
> From: "Ow Mun Heng" <[EMAIL PROTECTED]>
> To: "gentoo" <[email protected]>
> Sent: Thursday, May 12, 2005 4:15 PM
> Subject: Re: [gentoo-user] samba problem
> 
> 
> > On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote:
> > > Hi,
> > > After installing samba with conf. attached below, I connected from XP
> Home
> > > ed. I can browse the directory public, but when I tried to copy some
> files
> > > in public to my local XP directory, it failed with 'wrong network path'.
> > > What happened?
> >
> > This sound weird. It's definately not a permission issue as far as I can
> > tell. since you're on the XP box and you're copying to the XP Box. Samba
> > permissions should not have anything to do with it.
> >
> > What about permissions on the XP directory?
> >
> > Are you using the netbios name or the IP address? Try the IP address.
> >
> >
> >
> >
> > >
> > > /etc/samba/smb.conf
> > > [global]
> > > workgroup = WORKGROUPserver string = Samba Server %v
> > > log file = /var/log/samba/log.%m
> > > max log size = 50
> > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > > interfaces = lo ath0
> > > bind interfaces only = yes
> > > security = share
> > > guest account = samba
> > > guest ok = yes[public]
> > > comment = Public Files
> > > browseable = yes
> > > public = yes
> > > create mode = 0766
> > > guest ok = yes
> > > path = /home/samba/public
> > > Thanks
> >
> > -- 
> > Ow Mun Heng
> > Gentoo/Linux on DELL D600 1.4Ghz
> > 98% Microsoft(tm) Free!!
> > Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71
> >
> >
> > -- 
> > [email protected] mailing list
> >
> >

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 15:24:02 up 16:56, 10 users, load average: 0.30, 0.79, 0.77 


-- 
[email protected] mailing list

Reply via email to