From 64c332096b245420531f4321509a2bcb0aee1473 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 6 Jun 2015 10:57:30 +0200 Subject: [PATCH] base-files: set umask 022 via /etc/profile for sane defaults. --- srcpkgs/base-files/files/profile | 3 +++ srcpkgs/base-files/template | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/base-files/files/profile b/srcpkgs/base-files/files/profile index d18e7d7bf8..76a5cfae1a 100644 --- a/srcpkgs/base-files/files/profile +++ b/srcpkgs/base-files/files/profile @@ -6,6 +6,9 @@ PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin" export PATH +# Set default umask +umask 022 + # Load profiles from /etc/profile.d if [ -d /etc/profile.d/ ]; then for f in /etc/profile.d/*.sh; do diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index f1d35e4c58..cdf549d99d 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -1,6 +1,6 @@ # Template file for 'base-files' pkgname=base-files -version=0.127 +version=0.128 revision=1 bootstrap=yes depends="xbps-triggers"