Johannes Schindelin
fb71716d2c
Introduce the 'usertemp' filesystem type
...
* mount.cc (mount_info::from_fstab_line): Support mounting the current
user's temp folder as /tmp/. This is particularly useful a feature
when Cygwin's own files are write-protected.
* pathnames.xml: document the new usertemp file system type
Detailed explanation:
In the context of Windows, there is a per-user directory for temporary
files, by default specified via the environment variable %TEMP%. Let's
allow to use that directory for our /tmp/ directory.
With this patch, we introduce the special filesystem type "usertemp":
By specifying
none /tmp usertemp binary,posix=0 0 0
in /etc/fstab, the /tmp/ directory gets auto-mounted to the directory
specified by the %TEMP% variable.
This feature comes handy in particularly in scenarios where the
administrator might want to write-protect the entire Cygwin directory
yet still needs to allow users to write into the /tmp/ directory.
This is the case in the context of Git for Windows, where the
Cygwin (MSys2) root directory lives inside C:\Program Files and hence
/tmp/ would not be writable otherwise.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-12-07 17:37:44 +01:00
..
2014-07-14 18:16:16 +00:00
2015-12-07 17:37:44 +01:00
2014-11-06 15:32:21 +00:00
2015-12-07 16:28:22 +01:00
2015-10-20 12:33:13 +02:00
2015-12-06 17:25:48 +01:00
2013-11-24 12:13:36 +00:00
2015-11-18 22:28:33 +01:00
2014-11-25 11:27:12 +00:00
2015-12-07 17:37:44 +01:00
2014-01-04 23:58:32 +00:00
2015-01-07 21:27:22 +00:00
2015-12-03 12:38:19 +01:00
2015-11-18 20:51:12 +01:00
2015-11-20 18:14:58 +01:00
2014-08-15 21:21:59 +00:00
2014-08-15 21:21:59 +00:00
2014-08-11 12:03:18 +00:00
2014-08-15 13:50:53 +00:00
2014-02-10 20:15:58 +00:00
2014-12-02 09:59:53 +00:00
2015-04-23 21:57:07 +02:00
2015-11-27 14:39:11 +01:00
2015-02-23 20:51:12 +00:00
2014-03-12 17:36:56 +00:00
2015-11-27 14:39:11 +01:00
2015-07-29 13:32:29 +02:00
2015-10-23 14:30:40 +02:00
2015-12-02 12:11:06 +01:00
2015-11-27 14:39:11 +01:00
2015-02-23 13:56:01 +00:00
2015-10-27 16:10:37 +00:00
2014-11-26 19:46:59 +00:00
2014-04-08 14:13:59 +00:00
2015-12-07 16:10:55 +01:00
2015-04-23 21:57:12 +02:00
2013-07-15 13:54:27 +00:00
2015-04-23 21:57:12 +02:00
2014-04-26 17:38:22 +00:00
2014-08-22 09:21:33 +00:00
2015-02-11 13:15:59 +00:00
2015-07-29 13:45:46 +02:00
2015-02-15 08:59:55 +00:00
2014-01-27 20:04:35 +00:00
2015-10-22 14:22:07 +02:00
2014-12-02 10:16:03 +00:00
2014-08-15 13:50:53 +00:00
2015-07-07 20:45:06 +02:00
2015-11-27 14:39:11 +01:00
2015-02-11 13:15:59 +00:00
2015-04-23 21:57:10 +02:00
2015-11-05 18:31:36 +01:00
2015-10-27 16:10:37 +00:00
2013-12-10 21:05:23 +00:00
2014-05-09 14:28:48 +00:00
2013-10-31 14:26:42 +00:00
2015-11-18 22:29:46 +01:00
2015-04-23 21:57:13 +02:00
2014-05-20 10:25:32 +00:00
2014-08-19 08:41:40 +00:00
2015-08-29 09:16:47 +02:00
2015-12-06 17:25:48 +01:00
2014-10-09 13:24:37 +00:00
2014-10-09 17:45:27 +00:00
2014-10-09 13:24:37 +00:00
2014-08-11 12:03:18 +00:00
2013-10-26 13:23:54 +00:00
2015-10-22 14:22:07 +02:00
2014-10-20 14:30:35 +00:00
2015-11-27 14:39:11 +01:00
2015-02-25 17:50:13 +00:00
2015-04-23 21:57:07 +02:00
2015-11-18 22:44:33 +01:00
2013-10-31 14:26:42 +00:00
2014-10-09 13:24:37 +00:00
2015-11-27 14:39:11 +01:00
2013-10-24 17:51:41 +00:00
2015-11-18 22:27:54 +01:00
2015-11-18 22:27:54 +01:00
2015-11-27 14:39:11 +01:00
2015-12-03 13:30:51 +01:00
2015-11-28 11:10:41 +01:00
2015-03-03 12:58:34 +00:00
2015-11-18 20:51:12 +01:00
2014-05-22 10:25:45 +00:00
2015-08-17 22:45:02 +02:00
2013-08-31 10:21:48 +00:00
2015-10-27 16:10:37 +00:00
2015-02-15 09:13:03 +00:00
2015-12-02 12:11:06 +01:00
2014-08-27 10:44:50 +00:00
2015-11-18 19:09:47 +01:00
2015-02-26 17:27:59 +00:00
2015-02-24 20:52:57 +00:00
2015-10-27 16:10:37 +00:00
2015-04-23 21:57:08 +02:00
2015-06-18 22:04:58 +02:00
2015-01-16 16:19:37 +00:00
2014-08-14 17:36:24 +00:00
2015-12-07 16:10:55 +01:00
2015-12-07 16:10:55 +01:00
2015-08-17 11:05:43 +02:00
2015-02-03 13:15:49 +00:00
2015-12-03 13:33:43 +01:00
2015-12-07 17:37:44 +01:00
2015-12-06 17:25:48 +01:00
2015-03-03 17:09:30 +00:00
2013-08-26 16:14:40 +00:00
2015-10-22 14:22:07 +02:00
2015-08-18 13:12:07 +02:00
2015-11-21 16:51:12 +01:00
2015-10-29 09:17:57 +01:00
2014-08-27 09:39:44 +00:00
2015-04-23 22:01:53 +02:00
2015-12-06 17:25:48 +01:00
2015-11-04 14:47:25 +01:00
2015-07-19 22:38:30 +02:00
2013-12-18 04:28:46 +00:00
2015-02-15 08:59:55 +00:00
2015-12-07 16:28:22 +01:00
2015-11-27 14:39:11 +01:00
2015-07-19 22:38:30 +02:00
2013-09-25 14:44:45 +00:00
2015-04-23 22:01:53 +02:00
2015-04-23 21:57:12 +02:00
2014-12-02 10:49:47 +00:00
2014-12-02 10:49:47 +00:00
2015-07-29 13:45:46 +02:00
2014-05-20 10:21:34 +00:00
2015-11-29 20:26:48 +01:00
2015-03-18 17:15:27 +01:00
2015-11-18 22:30:38 +01:00
2015-11-18 22:44:33 +01:00
2015-11-18 22:30:38 +01:00
2015-11-27 14:39:11 +01:00
2015-12-07 16:28:22 +01:00
2015-03-03 17:09:30 +00:00
2014-03-28 20:34:04 +00:00
2014-10-17 14:36:59 +00:00
2014-11-27 16:49:41 +00:00
2015-04-23 21:59:49 +02:00
2015-10-30 16:05:43 +01:00
2015-11-05 10:09:08 +01:00
2014-03-17 04:41:35 +00:00
2015-07-29 13:45:46 +02:00
2015-03-17 11:40:12 +01:00
2015-07-29 13:45:46 +02:00
2015-10-22 14:22:07 +02:00
2014-08-18 18:24:06 +00:00
2015-11-18 22:27:54 +01:00
2015-08-29 09:32:00 +02:00
2014-11-25 11:27:12 +00:00
2015-10-30 16:05:43 +01:00
2015-07-05 15:51:37 +02:00
2014-08-22 09:21:33 +00:00
2015-02-20 15:13:46 +00:00
2014-08-25 14:53:49 +00:00
2014-08-25 14:53:49 +00:00
2015-07-04 22:49:30 +02:00
2015-07-04 22:49:30 +02:00
2015-04-23 21:57:07 +02:00
2015-04-23 22:04:24 +02:00
2015-11-29 21:21:35 +01:00
2015-12-07 16:28:22 +01:00
2013-07-31 15:19:18 +00:00
2015-02-24 20:52:57 +00:00
2015-12-07 16:10:55 +01:00
2015-12-07 16:10:55 +01:00
2013-11-24 12:13:36 +00:00
2015-02-11 13:15:59 +00:00
2015-02-11 13:15:59 +00:00
2015-11-18 22:28:33 +01:00
2015-12-07 16:28:22 +01:00
2015-02-03 13:15:49 +00:00
2015-12-07 16:10:55 +01:00
2015-12-07 16:10:55 +01:00