X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4C5EDAEF.2080408@bopp.net> Date: Sun, 08 Aug 2010 11:27:27 -0500 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 AT cygwin DOT com Subject: Re: Accessing SMB shares without explicit mounting References: <20100808094231 DOT 176859z0vd0n1j3r AT topdeck DOT tinsleyviaduct DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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