Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Mon, 24 Oct 2005 11:15:50 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Alastair Burnett cc: cygwin AT cygwin DOT com Subject: Re: Error creating files in /tmp In-Reply-To: <20051023194156.55971.qmail@web25702.mail.ukl.yahoo.com> Message-ID: References: <20051023194156 DOT 55971 DOT qmail AT web25702 DOT mail DOT ukl DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 23 Oct 2005, Alastair Burnett wrote: > Hi, > > I have an 'interesting' problem - we have some software tools which > require cygwin. For various reasons, we can't install cygwin on a local > machine - all that the tools require is the cygwin1.dll and bash.exe, in > theory at least. > > The tools and cygwin dependancies are all running from a mapped network > drive - say f:\tools\bin. > > Now, when I run the tools from another mapped drive - say a g: drive, I > initially got the error about not being able to find a /tmp directory, > so I simply did 'mkdir /tmp' and got past this. However, now the tools > bail out because it can't create a file in /tmp - which is the problem > I'm having. Anyone got any idea how to get round this - as I mention, we > can't do a full install of cygwin on the local machine, which would > solve the problem quite easily. > > If I start a bash shell (i.e. from f:\tools\bin) then I'm able to create > files without any problem - so I'm not sure why I get this error when > using the tools I'm working with ... As Brian pointed out, you don't have a mount table. AFAIK, for Windows to be usable at all, at least the user registry should be writeable, so nothing prevents you from adding user mounts. Try mount -u -b f:/tools / mount -u -b f:/tools/bin /usr/bin mount -u -b f:/tools/lib /usr/lib mount -u -b c:/temp /tmp (the first three are needed for Cygwin to function properly, the last one can be changed to point to a local directory that you have write access to, unless you want a shared /tmp). HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/