[26525] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25608 - trunk/debathena/scripts/installer

daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Jul 3 13:35:48 2012

Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <201207022333.q62NXVWQ004287@drugstore.mit.edu>
Date: Tue, 3 Jul 2012 13:35:45 -0400
Cc: source-commits@MIT.EDU
Message-Id: <82F9D283-7A5A-4CE8-A93E-CA74B6F0D8FA@mit.edu>
To: Liz Denys <lizdenys@MIT.EDU>
Content-Transfer-Encoding: 8bit

ACK.  I assume there's no real harm in doing this for the duration of the script, as opposed to only while downloading the files.  People who are overly paranoid about umasks are unlikely to be using the installer anyway.

-Jon
 
On Jul 2, 2012, at 7:33 PM, Liz Denys wrote:

> Author: lizdenys
> Date: 2012-07-02 19:33:31 -0400 (Mon, 02 Jul 2012)
> New Revision: 25608
> 
> Modified:
>   trunk/debathena/scripts/installer/install-debathena.beta.sh
> Log:
> Override the user's umask (Trac: #1163)
> 
> 
> 
> Modified: trunk/debathena/scripts/installer/install-debathena.beta.sh
> ===================================================================
> --- trunk/debathena/scripts/installer/install-debathena.beta.sh	2012-07-02 19:30:55 UTC (rev 25607)
> +++ trunk/debathena/scripts/installer/install-debathena.beta.sh	2012-07-02 23:33:31 UTC (rev 25608)
> @@ -9,6 +9,9 @@
> 
> set -e
> 
> +# The user's umask will sometimes carry over; don't let that happen.
> +umask 022
> +
> # If we run with the noninteractive frontend, mark Debconf questions as
> # seen, so you don't see all the suppressed questions next time you
> # upgrade that package, or worse, upgrade releases.
> 



home help back first fref pref prev next nref lref last post