This is the mail archive of the
mailing list for the Cygwin project.
fstab /tmp usertemp error after Windows Update
- From: Jeff Howard <jeff dot howard at cloudmedsolutions dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 27 Jun 2017 18:43:08 +0000
- Subject: fstab /tmp usertemp error after Windows Update
- Authentication-results: sourceware.org; auth=none
- Authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=none action=none header.from=cloudmedsolutions.com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
After a recent Windows Update (and reboot) the following fstab entry we used directly from the Cygwin documentation (https://cygwin.com/cygwin-ug-net/using.html) is no longer working. After digging a little deeper, it appears to be attempting to mount /tmp to a directory that doesn't exist on my local filesystem.
I can of course create the directory in my temp folder, but that would defeat the purpose in our multi-user environment. Since we're in a multi-user environment, our intention is for each user to seamlessly mount /tmp to their own temporary folder to prevent permissions issues. I also updated the Cygwin binaries for good measure, and the issue still persists.
Examples of my fstab and output from "mount" are in-line below. Note that the directory "/3" does not exist in my local temp folder - "C:/Users/Jeff/AppData/Local/Temp" does not exist in my local temp folder:
$ cat fstab
# This file is read once by the first process in a Cygwin process tree.
# To pick up changes, restart all Cygwin processes. For a description
# see https://cygwin.com/cygwin-ug-net/using.html#mount-table
# This is default anyway:
none /cygdrive cygdrive binary,posix=0,user 0 0
none /tmp usertemp binary,posix=0 0 0
C:/Users/Jeff/AppData/Local/Temp/3 on /tmp type ntfs (binary,posix=0,usertemp)
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)
E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple