delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/30/10:54:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: Tue, 30 Aug 2005 10:54:14 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: PJ Halls <pjh1 AT york DOT ac DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: redirecting /tmp and /var/tmp
In-Reply-To: <43146B58.1F08EB48@york.ac.uk>
Message-ID: <Pine.GSO.4.63.0508301052040.27062@slinky.cs.nyu.edu>
References: <43146B58 DOT 1F08EB48 AT york DOT ac DOT uk>
MIME-Version: 1.0

On Tue, 30 Aug 2005, PJ Halls wrote:

> Having had the Cygwin environment on several staff systems for some
> time, we now desire to roll this out into classrooms but have hit a
> problem.
>
> For our classrooms, it is policy that all managed software be installed
> on read-only drives / C: partitions to prevent students meddling.
> However, for Cygwin to run it must have write access to /tmp and
> /var/tmp.  Is there any way to 'redirect' these essentials from the
> Cygwin home space onto, for example, C:/temp (which is the only part of
> C: to which we permit our students write access)?

"man mount" and/or <http://cygwin.com/cygwin-ug-net/using-utils.html#mount>.

You may also need to redirect /home (the default /etc/profile may try to
create a directory for the student there), and maybe others, too.
	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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019