Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2022 07:06:48 +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@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 268593
           Summary: lang/execline: execline-cd, execline-umask are not
                    world-executable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sg@redu.cx
                CC: crest@rlwinm.de
             Flags: maintainer-feedback?(crest@rlwinm.de)
                CC: crest@rlwinm.de

Hello,

# ls -l /usr/local/bin/execline-*
-rwx------  1 root  wheel  8760 Dec  2 06:55 /usr/local/bin/execline-cd
-rwx------  1 root  wheel  9080 Dec  2 06:55 /usr/local/bin/execline-umask

I think this was an upstream issue that was fixed long before 2.9.0.0.

https://git.skarnet.org/cgi-bin/cgit.cgi/execline/commit/package/modes?id=
=3Dfc71200d67593c4a2d7b3105dc592c3ac96e725c
https://git.skarnet.org/cgi-bin/cgit.cgi/execline/tree/package/modes?h=3Dv2=
.9.0.0#n9
https://git.skarnet.org/cgi-bin/cgit.cgi/execline/tree/Makefile?h=3Dv2.9.0.=
0#n119

I am yet to determine why an installation of execline 2.9.0.0 on FreeBSD do=
es
not set these bits today.

# pkg info -l execline | grep bin | xargs stat -f '%p %N'=20
100755 /usr/local/bin/background
100755 /usr/local/bin/backtick
100755 /usr/local/bin/case
120700 /usr/local/bin/cd
100755 /usr/local/bin/define
100755 /usr/local/bin/dollarat
100755 /usr/local/bin/elgetopt
100755 /usr/local/bin/elgetpositionals
100755 /usr/local/bin/elglob
100755 /usr/local/bin/emptyenv
100755 /usr/local/bin/envfile
100755 /usr/local/bin/exec
100700 /usr/local/bin/execline-cd
100700 /usr/local/bin/execline-umask
100755 /usr/local/bin/execlineb
100755 /usr/local/bin/exit
100755 /usr/local/bin/export
100755 /usr/local/bin/fdblock
100755 /usr/local/bin/fdclose
100755 /usr/local/bin/fdmove
100755 /usr/local/bin/fdreserve
100755 /usr/local/bin/fdswap
100755 /usr/local/bin/forbacktickx
100755 /usr/local/bin/foreground
100755 /usr/local/bin/forstdin
100755 /usr/local/bin/forx
100755 /usr/local/bin/getcwd
100755 /usr/local/bin/getpid
100755 /usr/local/bin/heredoc
100755 /usr/local/bin/homeof
100755 /usr/local/bin/if
100755 /usr/local/bin/ifelse
100755 /usr/local/bin/ifte
100755 /usr/local/bin/ifthenelse
100755 /usr/local/bin/importas
100755 /usr/local/bin/loopwhilex
100755 /usr/local/bin/multidefine
100755 /usr/local/bin/multisubstitute
100755 /usr/local/bin/pipeline
100755 /usr/local/bin/piperw
100755 /usr/local/bin/posix-cd
100755 /usr/local/bin/posix-umask
100755 /usr/local/bin/redirfd
100755 /usr/local/bin/runblock
100755 /usr/local/bin/shift
100755 /usr/local/bin/trap
100755 /usr/local/bin/tryexec
120700 /usr/local/bin/umask
100755 /usr/local/bin/unexport
100755 /usr/local/bin/wait
100755 /usr/local/bin/withstdinas

# pkg info execline
execline-2.9.0.0
Name           : execline
Version        : 2.9.0.0
Installed on   : Tue Dec 27 17:44:14 2022 AEDT
Origin         : lang/execline
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : shells lang
Licenses       : ISCL
Maintainer     : crest@rlwinm.de
WWW            : https://www.skarnet.org/software/execline/
Comment        : Lightweight non-interactive sh(1)-like scripting language
Options        :
        DOCS           : on
Shared Libs required:
        libskarnet.so.2.12
Shared Libs provided:
        libexecline.so.2.9
Annotations    :
        FreeBSD_version: 1301000
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 923KiB
Description    :
execline is a very light non-interactive scripting language,
which is similar to /bin/sh. Simple shell scripts can be
easily rewritten in the execline language, improving performance
and memory usage. execline was designed for use
in embedded systems, but works on most Unix flavors.

execline features conditional loops, getopt-style option handling,
filename globbing, and more.  Meanwhile, its syntax
is far more logical and predictable than the shell's syntax,
and has no security issues.

WWW: https://www.skarnet.org/software/execline/

--=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>