This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redirecting /tmp and /var/tmp


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]