X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com Subject: user defined environment variabales problem MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: "Andre Heider" Date: Thu, 17 Aug 2006 11:30:53 +0200 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com hi, windows comes with the following defaults: system wide environment variables "TMP" and "TEMP" set to the value "%SYSTEMROOT%\Temp" user overwritten variables set to "%USERPROFILE%\Local Settings\Temp" when logging on using rdp these values are correctly set by windows to the user specific values. a cygwin shell withing this logon inherits these values. now, if i logon using opensshd installed as a cygwin service, these two variables have the system wide value. as a fact, no user specific vars are set. is this case normal users dont have write access to "%SYSTEMROOT%\Temp" (again, windows default). since these values are used for the api function GetTempPath(A|W) some native win32 programs fail due to access denied error. shouldnt these values be set by cygwin (perhaps setuid?). or did i simply configure something the wrong way? regards, andre -- 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/