Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2022 11:58:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268593] lang/execline: execline-cd, execline-umask are not world-executable
Message-ID:  <bug-268593-7788-LOdxCULkid@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268593-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268593-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268593

--- Comment #1 from sg@redu.cx ---
It is interesting to note that the modes on posix-cd and posix-umask are set
correctly.

# xzcat execline-2.9.0.0~c00593d25b.pkg | tar t -v | grep -- 'bin.*-cd'
lrwx------  0 root   wheel       0 Jul  4 08:09 /usr/local/bin/cd ->
execline-cd
-rwx------  0 root   wheel    8816 Jul  4 08:09 /usr/local/bin/execline-cd
-rwxr-xr-x  0 root   wheel   15016 Jul  4 08:09 /usr/local/bin/posix-cd

(I also checked execline-2.6.0.1~f36133a160.txz, which was the oldest packa=
ge
in my cache.  Same modes.)

http://package21.nyi.freebsd.org/data/131amd64-default-qat/c610273231b4/log=
s/execline-2.9.0.0.log

AFAICS, the only special treatment happens here:

exec ./tools/install.sh -l execline-cd
/wrkdirs/usr/ports/lang/execline/work/stage/usr/local/bin/cd
exec ./tools/install.sh -l execline-umask
/wrkdirs/usr/ports/lang/execline/work/stage/usr/local/bin/umask

install.sh umasks to 077, so the symlink is created mode 0700.  I don't see=
 how
that would impart any effect on the targets of these links, but it seemed t=
oo
coincidental, so I thought I'd mention it in case it is somehow related to =
this
problem.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268593-7788-LOdxCULkid>