From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 12:15:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ABBD16A4CE for ; Sun, 6 Feb 2005 12:15:30 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62EA943D2F for ; Sun, 6 Feb 2005 12:15:29 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j16CFRGf003608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Feb 2005 04:15:28 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j16CFQrU003606; Sun, 6 Feb 2005 04:15:26 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 6 Feb 2005 04:15:25 -0800 From: "Loren M. Lang" To: Incoming Mail List Message-ID: <20050206121525.GV8619@alzatex.com> References: <200502060855.j168tdfJ086118@whoweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200502060855.j168tdfJ086118@whoweb.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org Subject: Re: smbfs problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 12:15:30 -0000 On Sun, Feb 06, 2005 at 03:55:39AM -0500, Incoming Mail List wrote: > > I'm experiencing a strange problem with smbfs and can't find any > references to it on the web. I've mounted a share from a win2k > machine that contains JPEG images to a mount point on my FreeBSD > system using mount_smbfs. The mount point is located within an http > directory tree so the JPEG images can be published on the web without > using ftp. I take it the files view just fine over http, just not through the smb mount? > > >From the FBSD console (or terminal), I can read, copy, and write > to/from the win2k share. All files within the win2k share are > showing 755 permissions. The permissions you see under freebsd are not the same permissions that win2k is providing. The smb client running on your freebsd box is setup by default to offer all files as 755 permissions, but the samba client doesn't verify that it can offer those files to you so you may still not be able to read the files even though it looks like it in freebsd. Assuming the user you are access it as is account, make sure on the windows box that user account has permission to read the files. > > When I point a web browser (konqueror,MSIE) at the URL for this > particular mount point the contents of the share show up (http > directory listing) but I can't view any of the JPEG images. When > I click on any image listed in the http directory listing, they > show up blank just as if you had requested an image that doesn't > exist on the web server. > > >From the FBSD side, I changed directory to the win2k share and > created an HTML file that output text only. It worked. After > refreshing the web browser, the .html file was listed and when > I clicked on it, it rendered the text. > > Next, I added an tag to the same HTML file in the win2k share > so it would output a JPEG image that was located there. The text > appeared, but the image didn't. > > Next, I used a third machine running XP and accessed the win2k share > via windows explorer. I clicked my way into the share and XP > rendered all the images. > > I don't have X on the FBSD machine so I was not able to test viewing > the JPEG images locally on the FBSD side. > > For some reason, JPEG images located within a smbfs mount will not > display through a web browser. Has anyone else experienced this? > Anyone willing to try to reproduce this? I don't know if this is > smbfs, samba, or apache. > > VERSION and COMMAND INFO > ======================== > mount_smbfs -N -I 192.168.20.6 //account@machine/share /path/to/mountpnt > > FBSD 5.2.1 > Apache-2.0.52 > Samba-3.0.10 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C