Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2015 16:13:20 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Garrett Cooper <yaneurabeya@gmail.com>, =?UTF-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Failing buildword due to execution permission (with fix)
Message-ID:  <564136A0.4080406@FreeBSD.org>
In-Reply-To: <233C431B-1675-4A55-A46E-B1B858056A09@gmail.com>
References:  <d2efef40a9e28bec03742c49ec5e4682@mail.yourbox.net> <233C431B-1675-4A55-A46E-B1B858056A09@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--38lTC9njRuAJIM3dh2atUvElPs2gS7wlr
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11/9/2015 2:42 PM, Garrett Cooper wrote:
>=20
>> On Nov 9, 2015, at 13:35, Jos=C3=A9 P=C3=A9rez <fbl@aoek.com> wrote:
>>
>> Hello,
>> I have this buildwordl failure:
>>
>> =3D=3D=3D> libexec/rbootd (depend)
>> --- depend_subdir_lib ---
>> --- aton_ether_subr.c ---
>> /usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr /usr/src/sys=
/net/if_ethersubr.c ato
>> n_ether_subr.c
>> sh: /usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr: Permiss=
ion denied
>> *** [aton_ether_subr.c] Error code 126
>>
>>
>> I fixed with:
>> chmod +x /usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr
>>
>>
>> This was from a fresh checkout of current on a new machine.
>>
>> Is it me or shall I report a bug?
>=20
> Please file a bug and assign it to me (ngie). Is the file system mounte=
d with noexec?
> Thanks,
> -NGie

If this is a shell file then it is best to invoke it with 'sh' rather
than a chmod/#!. The src checkout should be noexec-safe.


--=20
Regards,
Bryan Drewery


--38lTC9njRuAJIM3dh2atUvElPs2gS7wlr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWQTahAAoJEDXXcbtuRpfP7s0IANsOYze4zt03+GRqb9RSrCqm
GXTUQHaZ6ZcXZsFF6EyzOWuu9Jt3INhOGiVUWPBQ61bR3CMimiP/xEuBTu3kgRj/
Y0ZgL5RA8S8IlQw84EXh3GjLJ4SdQeoy9kSjmFzA2vNbKfBuGJWQFCI47Yh0ya8T
n7xXMUTjCC9RlbePbrjia4o+dsr2+pKZxVppl+ogYQSnInAnC/Yr45ll7vz2d0yE
eO32z0Xjc0F3Knw3z+7YIF8GVl6xqYDPe6SmpeZyPdBjj4sXuGrflvHE24ye29EE
13ji9TTNg4CbK2budo5lQLNywImkgr9foAjRuI7kEShcpyr88hd9KEQVo2dtOxc=
=1rD6
-----END PGP SIGNATURE-----

--38lTC9njRuAJIM3dh2atUvElPs2gS7wlr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564136A0.4080406>