Re: Variation on: regular user, bash cannot find /tmp
On Tue, 5 Sep 2006, David LaFrance-Linden wrote: I found a few similar problems in your mail archives, but I did not quickly find the problem I'm having. Attached is cygcheck output as requested. A few days ago, as a normal user on my MS Windows box, I went to cygwin.com and ran setup.exe to install things, for just me. Everything seemed to go OK. When I ran the shortcut, it brought up a bash. First time up it did some setup. Things worked. Then I decided to install it for everyone. I deleted all the cygwin stuff I could find from my directories. Then, from an Admin account, I went to cygwin.com again, ran setup.exe again, and chose For everyone and put things under c:\cygwin. Again, everything seemed to go OK. But when I, as the original user, try the newly installed shortcut on my desktop, I get bash.exe: warning: could not find /tmp, please create! bash-3.1$ complaint. The other reports I found seem to indicate it gets further than I get. You probably installed into a different directory for that user, and you have stale user mounts. Unfortunately, you have not attached the output of cygcheck -svr from the failing user (which you could have gotten via cd c:\cygwin\bin; .\cygcheck -svr from a command prompt). Just unmount all user mounts as the problem user: cd c:\cygwin\bin; .\umount -U. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte. But no -- you are no fool; you call yourself a fool, there's proof enough in that! -- Rostand, Cyrano de Bergerac -- 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/
RE: Variation on: regular user, bash cannot find /tmp
It did help and worked; thanks. Indeed, I had installed it in different places the two times. For the archives, a couple clarifications on the instructions. From a command prompt means from a windows command prompt not a cygwin/bash command prompt. In the `command` on my windows box, semi-colon does not separate commands, so the cd and the .\program need to happen as separate commands. I haven't looked at the output of cygcheck yet; after doing the umount I tried what had failed and it seems to work. Thanks again. -Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 10:35 AM To: David LaFrance-Linden Cc: cygwin@cygwin.com; [EMAIL PROTECTED] Subject: Re: Variation on: regular user, bash cannot find /tmp You probably installed into a different directory for that user, and you have stale user mounts. Unfortunately, you have not attached the output of cygcheck -svr from the failing user (which you could have gotten via cd c:\cygwin\bin; .\cygcheck -svr from a command prompt). Just unmount all user mounts as the problem user: cd c:\cygwin\bin; .\umount -U. HTH, -- 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/
Re: Variation on: regular user, bash cannot find /tmp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reformatted. David LaFrance-Linden wrote: It did help and worked; thanks. Indeed, I had installed it in different places the two times. For the archives, a couple clarifications on the instructions. From a command prompt means from a windows command prompt not a cygwin/bash command prompt. In the `command` on my windows box, semi-colon does not separate commands, so the cd and the .\program need to happen as separate commands. I haven't looked at the output of cygcheck yet; after doing the umount I tried what had failed and it seems to work. Thanks again. David LaFrance-Linden wrote: You probably installed into a different directory for that user, and you have stale user mounts. Unfortunately, you have not attached the output of cygcheck -svr from the failing user (which you could have gotten via cd c:\cygwin\bin; .\cygcheck -svr from a command prompt). Just unmount all user mounts as the problem user: cd c:\cygwin\bin; .\umount -U. Please don't quote raw email addresses (aka: http://cygwin.com/acronyms/#PCYMTNQREAIYR)! This is an anti-spam measure used by the Cygwin lists (and probably the rest of sourceware's lists). http://cygwin.com/acronyms/#TOFU Could I get a new acronym over here? PCYMTSTRTFTTCML (Please Configure Your Mailer To Set The Reply-To Field To The Cygwin Mailing List). - -- Charli - --- Step away from make 3.80. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE/iPRKGyf4JaPChgRAgV5AKCHCef9d66F0IxU6JBHRsFJGtd7pgCfShhM T3aJnShMltepX9AkNLp1sVA= =MQVD -END PGP SIGNATURE- -- 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/
Re: Variation on: regular user, bash cannot find /tmp
On Tue, Sep 05, 2006 at 09:26:42PM -0400, Charli Li wrote: Could I get a new acronym over here? PCYMTSTRTFTTCML (Please Configure Your Mailer To Set The Reply-To Field To The Cygwin Mailing List). I don't see any reason for this. If people actually *want* this, then they should set the Reply-To. If it was mailing list policy then I'd just set the Reply-To automatically. -- 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/
Re: Variation on: regular user, bash cannot find /tmp
Christopher Faylor wrote: On Tue, Sep 05, 2006 at 09:26:42PM -0400, Charli Li wrote: Could I get a new acronym over here? PCYMTSTRTFTTCML (Please Configure Your Mailer To Set The Reply-To Field To The Cygwin Mailing List). I don't see any reason for this. If people actually *want* this, then they should set the Reply-To. If it was mailing list policy then I'd just set the Reply-To automatically. -- 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/ Don't know why, either. I have several mailing lists I read with my address. Just back here lurking back here. I am reading only, not writing any more. Thunderbird experimental does not show email address. Thunderbird is what I use. The only time email addresses show up in the messages is when i foward them. Bobby. -- 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/
Variation on: regular user, bash cannot find /tmp
I found a few similar problems in your mail archives, but I did not quickly find the problem I'm having. Attached is cygcheck output as requested. A few days ago, as a normal user on my MS Windows box, I went to cygwin.com and ran setup.exe to install things, for just me. Everything seemed to go OK. When I ran the shortcut, it brought up a bash. First time up it did some setup. Things worked. Then I decided to install it for everyone. I deleted all the cygwin stuff I could find from my directories. Then, from an Admin account, I went to cygwin.com again, ran setup.exe again, and chose For everyone and put things under c:\cygwin. Again, everything seemed to go OK. But when I, as the original user, try the newly installed shortcut on my desktop, I get bash.exe: warning: could not find /tmp, please create! bash-3.1$ complaint. The other reports I found seem to indicate it gets further than I get. At first, I thought the entire installation must have gone south, somehow. But... if I login as a different (and non-admin) user, the first time I click on the Cygwin shortcut on that different user's desktop, it does its first-time bash setup and works. I've been trying to find some file or some shred of data that got left over and undeleted from my first (and personal) installation that could be polluting or distracting the for-everyone installation. I've tried running the batch commands by hand from a command shell, with the same result. Is there an option to bash to have it dump out a lot more of what it is doing. I already tried -v. `pwd` indicates I'm in /usr/bin. But no commands seem to work. `echo ~` indicates I'm in my Windows homedir, not my cygwin homedir, and this is a difference with the other users. But how and/or why? And how to I fit it? I can't seem to run any non-builtin program; I always get file not found, even with explicit pathnames, absolute and relative to `pwd`. I was able to do `set ~/foo.txt` from as me (David) and have attached that as well. Also attached (the ...2 versions) are the cygcheck and set from a user that works. Maybe somebody can find the crucial difference and tell me how to fix it? I use Linux daily for work; my Windows skills are minimal. Any clues? Thanks, David [EMAIL PROTECTED] cygcheck.out Description: Binary data !::='::\' !C:='C:\cygwin\bin' ALLUSERSPROFILE='C:\Documents and Settings\All Users' APPDATA='C:\Documents and Settings\David\Application Data' BASH=/bin/sh BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]=3 [1]=1 [2]=17 [3]=6 [4]=release [5]=i686-pc-cygwin) BASH_VERSION='3.1.17(6)-release' CLASSPATH='C:\Program Files\QuickTime\QTSystem\QTJava.zip' COMMONPROGRAMFILES='C:\Program Files\Common Files' COMPUTERNAME=THEMORNINGLIGHT COMSPEC='C:\WINDOWS\system32\cmd.exe' DIRSTACK=() EUID=400 FP_NO_HOST_CHECK=NO GROUPS=() HISTFILE='/cygdrive/c/Documents and Settings/David/.bash_history' HISTFILESIZE=500 HISTSIZE=500 HOME='/cygdrive/c/Documents and Settings/David' HOMEDRIVE=C: HOMEPATH='\Documents and Settings\David' HOSTNAME=TheMorningLight HOSTTYPE=i686 IFS=$' \t\n' LOGONSERVER='\\THEMORNINGLIGHT' MACHTYPE=i686-pc-cygwin MAILCHECK=60 NUMBER_OF_PROCESSORS=1 OPTERR=1 OPTIND=1 OS=Windows_NT OSTYPE=cygwin PATH='/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/QuickTime/QTSystem/' PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PIPESTATUS=([0]=0) PPID=1 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER='x86 Family 15 Model 3 Stepping 4, GenuineIntel' PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0304 PROGRAMFILES='C:\Program Files' PROMPT='$P$G' PS1='\s-\v\$ ' PS2=' ' PS4='+ ' PWD=/usr/bin QTJAVA='C:\Program Files\QuickTime\QTSystem\QTJava.zip' SESSIONNAME=Console SHELL=/bin/sh SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor SHLVL=1 SYSTEMDRIVE=C: SYSTEMROOT='C:\WINDOWS' TEMP=/cygdrive/c/DOCUME~1/David/LOCALS~1/Temp TERM=cygwin TMP=/cygdrive/c/DOCUME~1/David/LOCALS~1/Temp UID=400 USERDOMAIN=THEMORNINGLIGHT USERNAME=David USERPROFILE='C:\Documents and Settings\David' WINDIR='C:\WINDOWS' _=set cygcheck2.out Description: Binary data !::='::\' !C:='C:\cygwin\bin' ALLUSERSPROFILE='C:\Documents and Settings\All Users' APPDATA='C:\Documents and Settings\Benji\Application Data' BASH=/usr/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]=3 [1]=1 [2]=17 [3]=6 [4]=release [5]=i686-pc-cygwin) BASH_VERSION='3.1.17(6)-release' CLASSPATH='C:\Program Files\QuickTime\QTSystem\QTJava.zip' COMMONPROGRAMFILES='C:\Program Files\Common Files' COMPUTERNAME=THEMORNINGLIGHT COMSPEC='C:\WINDOWS\system32\cmd.exe' CVS_RSH=/bin/ssh DIRSTACK=() EUID=1012 FP_NO_HOST_CHECK=NO GROUPS=() HISTFILE=/home/Benji/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/Benji HOMEDRIVE=C: HOMEPATH='\Documents and Settings\Benji' HOSTNAME=TheMorningLight HOSTTYPE=i686 IFS=$' \t\n'