base-files: set umask 022 via /etc/profile for sane defaults.
This commit is contained in:
parent
9f1b6856b0
commit
64c332096b
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue