Skip to content

Commit ca958b9

Browse files
committed
Make lock dir and pid file readable by all.
- Legacy-Id: 441
1 parent a22d358 commit ca958b9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/test-setup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ PIDFILE=$LOCKDIR/pid
5959
while true; do
6060
if mkdir $LOCKDIR; then
6161
echo "$$" > $PIDFILE
62+
chmod a+xr $LOCKDIR
63+
chmod a+r $PIDFILE
6264
break
6365
else
6466
pid=$(< $PIDFILE )

0 commit comments

Comments
 (0)