delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/06/03:23:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "John Morrison" <john DOT r DOT morrison AT ntlworld DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: 1.3.22: TMPDIR Initialization
Date: Sun, 6 Apr 2003 08:23:31 +0100
Message-ID: <NCEBJJFMCAOKNNABBFIMCEOFDGAA.john.r.morrison@ntlworld.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <1pg4zbf2ryqpd$.dlg@thorstenkampe.de>
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> From: Thorsten Kampe
> > 
> > Is there a global/system wide postinstall script?
> 
> There is no "cygwin.sh.done" in "/etc/postinstall".

Sorry, I *totally* over looked this thread...

I just read back on the thread...

From: Robert Collins
> Setup doesn't set any special permissions. It sets a generic umask and
> mode, and applies that throughout. ALL special permissions, scripts, and
> local customisations are done via post-install scripts, which run after
> setup extracts the package files, and before setup completes.
> 
> So, if the TEMP permissions need adjusting, it's the job of a
> postinstall script (perhaps base-files in this case) to do that.

Quite correct, it would be fine for a script in base-files to
[create and] set the permissions on temp.

However on my w2k box...

ls -liash / | grep [t]mp
 140662    0 drwxrwxrwx+  13 Administ None         4.0k Mar 10 20:34 tmp

ls -liash $TMP/..
  72887    0 drwx------+  20 Administ None          36k Apr  6 08:16 Temp

ls -liash $TEMP/..
  72887    0 drwx------+  20 Administ None          36k Apr  6 08:16 Temp

all of which should be writable for me (I think...).

If somebody wants to write the script I'm quite happy to add it to
base-files.

[OT] Why isn't perl using /tmp?

and perldoc perldoc works on my machine.

J.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019