From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4464 invoked by alias); 8 Aug 2010 16:27:38 -0000 Received: (qmail 4453 invoked by uid 22791); 8 Aug 2010 16:27:36 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail34.mailforbusiness.com (HELO mail34.mailforbusiness.com) (66.70.26.101) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 08 Aug 2010 16:27:31 +0000 Received: from mail34.mailforbusiness.com (localhost [127.0.0.1]) by mail34.mailforbusiness.com (Postfix) with ESMTP id 8AAA314F8CBB for ; Sun, 8 Aug 2010 12:25:46 -0400 (EDT) Received: from [192.168.1.21] (unknown [72.183.123.157]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jeremy@bopp.net) by mail34.mailforbusiness.com (Postfix) with ESMTPSA id 5F44A14F8C8A for ; Sun, 8 Aug 2010 12:25:46 -0400 (EDT) Message-ID: <4C5EDAEF.2080408@bopp.net> Date: Sun, 08 Aug 2010 16:27:00 -0000 From: Jeremy Bopp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Accessing SMB shares without explicit mounting References: <20100808094231.176859z0vd0n1j3r@topdeck.tinsleyviaduct.com> In-Reply-To: <20100808094231.176859z0vd0n1j3r@topdeck.tinsleyviaduct.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00183.txt.bz2 On 08/08/2010 03:42 AM, Phil Reynolds wrote: > In order to cut down on the overall time my backups are taking, I am > thinking of running flexbackup under cygwin. However, I will want it to > write to a directory I have shared from my Linux box using samba, > without mounting it explicitly. > > I understand that this at least ought to be possible using a UNC path > (//server/share) but all attempts to list the current content are > showing it to be empty. If I try to access a file I know to be there, or > to create a new one, I get "Permission denied". I can clearly see that > the shares are there, but cannot make any practical use of them. > > I am therefore left in the position of having to seek advice on this. > The permissions do allow the shares to be mounted in Windows, but in the > case of this particular one, I am looking for it not to be mounted. It sounds like your Samba configuration requires authentication in order to access this share. Are you able to access the share as \\server\share using the Windows file explorer without first mapping the share to a drive or authenticating in some other way? Cygwin uses Windows to handle this sort of operation, so if Windows can't access the share without authentication, neither can Cygwin. If authentication is required, you'll either need to map the share to a drive letter or reconfigure your Samba share to allow guests to have read and possibly write access depending on your needs. -Jeremy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple