public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* fstab /tmp usertemp error after Windows Update
@ 2017-06-27 18:43 Jeff Howard
  2017-06-27 19:49 ` Garber, Dave (GE Oil & Gas, Non-GE)
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Howard @ 2017-06-27 18:43 UTC (permalink / raw)
  To: cygwin

Hello -

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
# /etc/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

Jeff@CM /etc
$ mount
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)


- Jeff


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: fstab /tmp usertemp error after Windows Update
  2017-06-27 18:43 fstab /tmp usertemp error after Windows Update Jeff Howard
@ 2017-06-27 19:49 ` Garber, Dave (GE Oil & Gas, Non-GE)
  0 siblings, 0 replies; 2+ messages in thread
From: Garber, Dave (GE Oil & Gas, Non-GE) @ 2017-06-27 19:49 UTC (permalink / raw)
  To: cygwin

Your TMP or TEMP environment variable is probably set to that value.  Exit Cygwin, fix the environment variable and then go into Cygwin and check it.

Dave

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
> Behalf Of Jeff Howard
> Sent: Tuesday, June 27, 2017 2:43 PM
> To: cygwin@cygwin.com
> Subject: EXT: fstab /tmp usertemp error after Windows Update
> 
> Hello -
> 
> 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
> # /etc/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
> 
> Jeff@CM /etc
> $ mount
> 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)
> 
> 
> - Jeff
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-27 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 18:43 fstab /tmp usertemp error after Windows Update Jeff Howard
2017-06-27 19:49 ` Garber, Dave (GE Oil & Gas, Non-GE)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).