base-files: set umask 022 via /etc/profile for sane defaults.

This commit is contained in:
Juan RP 2015-06-06 10:57:30 +02:00
parent 9f1b6856b0
commit 64c332096b
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,9 @@
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin" PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin"
export PATH export PATH
# Set default umask
umask 022
# Load profiles from /etc/profile.d # Load profiles from /etc/profile.d
if [ -d /etc/profile.d/ ]; then if [ -d /etc/profile.d/ ]; then
for f in /etc/profile.d/*.sh; do for f in /etc/profile.d/*.sh; do

View file

@ -1,6 +1,6 @@
# Template file for 'base-files' # Template file for 'base-files'
pkgname=base-files pkgname=base-files
version=0.127 version=0.128
revision=1 revision=1
bootstrap=yes bootstrap=yes
depends="xbps-triggers" depends="xbps-triggers"