aboutsummaryrefslogtreecommitdiff
path: root/devel/p4d/files/perforce.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p4d/files/perforce.sh.in')
-rw-r--r--devel/p4d/files/perforce.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/p4d/files/perforce.sh.in b/devel/p4d/files/perforce.sh.in
index 2ebc5809fa48..0567a4823bad 100644
--- a/devel/p4d/files/perforce.sh.in
+++ b/devel/p4d/files/perforce.sh.in
@@ -12,6 +12,7 @@ start)
[ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf
if [ -x $p4d -a x$PERFORCE_START = xyes ]; then
echo -n ' p4d'
+ umask 027
su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS"
fi
if [ -x $p4ftpd -a x$PERFORCE_FTPD_START = xyes ]; then