This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: redirecting /tmp and /var/tmp
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: PJ Halls <pjh1 at york dot ac dot uk>
- Cc: cygwin at cygwin dot com
- Date: Tue, 30 Aug 2005 10:54:14 -0400 (EDT)
- Subject: Re: redirecting /tmp and /var/tmp
- References: <43146B58.1F08EB48@york.ac.uk>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/