<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Did you verify that it is using the relx you copied over and not the one erlang.mk would have downloaded when you were building releases before?<br></div>
<div><br></div>
<div>If it is indeed using 3.26.1 then please open an issue in the relx project on github.<br></div>
<div><br></div>
<div>On Sat, Jun 30, 2018, at 4:49 PM, Wes James wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div><div>I downloaded relx and built it and put it in to my project and then built my project. The folders look like this:<br></div>
<div><br></div>
<div>$ ls -al /usr/local/lib/erlang/erts-10.0.1/bin<br></div>
<div>total 20204<br></div>
<div>drwxr-xr-x. 2 root root 4096 Jun 29 14:55 .<br></div>
<div>drwxr-xr-x. 8 root root 70 Jun 29 14:55 ..<br></div>
<div>-rwxr-xr-x. 1 root root 19177216 Jun 29 14:55 beam.smp<br></div>
<div>-rwxr-xr-x. 1 root root 126704 Jun 29 14:55 ct_run<br></div>
<div>-rwxr-xr-x. 1 root root 124296 Jun 29 14:55 dialyzer<br></div>
<div>-rwxr-xr-x. 1 root root 30008 Jun 29 14:55 dyn_erl<br></div>
<div>-rwxr-xr-x. 1 root root 214632 Jun 29 14:55 epmd<br></div>
<div>-rwxr-xr-x. 1 root root 857 Jun 29 14:55 erl<br></div>
<div>-rwxr-xr-x. 1 root root 124088 Jun 29 14:55 erlc<br></div>
<div>-rwxr-xr-x. 1 root root 60864 Jun 29 14:55 erl_child_setup<br></div>
<div>-rwxr-xr-x. 1 root root 203776 Jun 29 14:55 erlexec<br></div>
<div>-rwxr-xr-x. 1 root root 851 Jun 29 14:55 erl.src<br></div>
<div>-rwxr-xr-x. 1 root root 127648 Jun 29 14:55 escript<br></div>
<div>-rwxr-xr-x. 1 root root 31824 Jun 29 14:55 heart<br></div>
<div>-rwxr-xr-x. 1 root root 181304 Jun 29 14:55 inet_gethost<br></div>
<div>-rwxr-xr-x. 1 root root 78160 Jun 29 14:55 run_erl<br></div>
<div>-rwxr-xr-x. 1 root root 1154 Jun 29 14:55 start<br></div>
<div>-rwxr-xr-x. 1 root root 1244 Jun 29 14:55 start_erl.src<br></div>
<div>-rwxr-xr-x. 1 root root 1148 Jun 29 14:55 start.src<br></div>
<div>-rwxr-xr-x. 1 root root 37216 Jun 29 14:55 to_erl<br></div>
<div>-rwxr-xr-x. 1 root root 118232 Jun 29 14:55 typer<br></div>
</div>
<div>After building with relx:<br></div>
<div><br></div>
<div>ls -al _rel/project/erts-10.0.1/bin/<br></div>
<div>total 20228<br></div>
<div>drwxrwxr-x. 2 user user 4096 Jun 30 16:39 .<br></div>
<div>drwxrwxr-x. 8 user user 70 Jun 30 16:39 ..<br></div>
<div>-rw-rw-r--. 1 user user 19177216 Jun 30 16:39 beam.smp<br></div>
<div>-rw-rw-r--. 1 user user 126704 Jun 30 16:39 ct_run<br></div>
<div>-rw-rw-r--. 1 user user 124296 Jun 30 16:39 dialyzer<br></div>
<div>-rw-rw-r--. 1 user user 30008 Jun 30 16:39 dyn_erl<br></div>
<div>-rw-rw-r--. 1 user user 214632 Jun 30 16:39 epmd<br></div>
<div>-rwxr-xr-x. 1 user user 248 Jun 30 16:39 erl<br></div>
<div>-rw-rw-r--. 1 user user 124088 Jun 30 16:39 erlc<br></div>
<div>-rw-rw-r--. 1 user user 60864 Jun 30 16:39 erl_child_setup<br></div>
<div>-rw-rw-r--. 1 user user 203776 Jun 30 16:39 erlexec<br></div>
<div>-rw-rw-r--. 1 user user 851 Jun 30 16:39 erl.src<br></div>
<div>-rw-rw-r--. 1 user user 127648 Jun 30 16:39 escript<br></div>
<div>-rw-rw-r--. 1 user user 31824 Jun 30 16:39 heart<br></div>
<div>-rw-rw-r--. 1 user user 181304 Jun 30 16:39 inet_gethost<br></div>
<div>-rwxr-xr-x. 1 user user 14037 Jun 30 16:39 install_upgrade.escript<br></div>
<div>-rwxr-xr-x. 1 user user 6080 Jun 30 16:39 nodetool<br></div>
<div>-rw-rw-r--. 1 user user 78160 Jun 30 16:39 run_erl<br></div>
<div>-rw-rw-r--. 1 user user 1154 Jun 30 16:39 start<br></div>
<div>-rw-rw-r--. 1 user user 1244 Jun 30 16:39 start_erl.src<br></div>
<div>-rw-rw-r--. 1 user user 1148 Jun 30 16:39 start.src<br></div>
<div>-rw-rw-r--. 1 user user 37216 Jun 30 16:39 to_erl<br></div>
<div>-rw-rw-r--. 1 user user 118232 Jun 30 16:39 typer<br></div>
<div><br></div>
<div><div>Only three of the copied files have x attribute.<br></div>
</div>
<div>-wes<br></div>
<div><div><div><div><br></div>
<div defang_data-gmailquote="yes"><div>On Sat, Jun 30, 2018 at 4:31 PM, Tristan Sloughter <span dir="ltr"><<a href="mailto:t@crashfast.com">t@crashfast.com</a>></span> wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div><u></u><br></div>
<div><div>relx and rebar3 are separate tools, but rebar3 includes relx for building releases. rebar3 builds applications, runs tests and handles dependencies, relx only does release creation.<br></div>
<div><br></div>
<div>So if you download rebar3 you are getting relx but not the other way around, so if you are using <a href="http://erlang.mk">erlang.mk</a> you are only using relx.<span><span class="colour" style="color:rgb(136, 136, 136)"></span></span><br></div>
<div><span><span class="colour" style="color:rgb(136, 136, 136)"></span></span><br></div>
<div><span><span class="colour" style="color:rgb(136, 136, 136)"></span></span><br></div>
<div><span><span class="colour" style="color:rgb(136, 136, 136)">Tristan</span></span><br></div>
<div><span><span class="colour" style="color:rgb(136, 136, 136)"></span></span><br></div>
<div><div><div><br></div>
<div>On Sat, Jun 30, 2018, at 4:27 PM, Wes James wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>I thought relx was just another name for rebar. I'm using <a href="http://erlang.mk">erlang.mk</a> and it has relx in the script. <br></div>
<div><br></div>
<div>I'm seeing these 2:<br></div>
<div><br></div>
<div><a href="https://github.com/erlang/rebar3">https://github.com/erlang/<wbr>rebar3</a><br></div>
<div><br></div>
<div><a href="https://github.com/erlware/relx">https://github.com/erlware/<wbr>relx</a><br></div>
</div>
<div><div><br></div>
<div><div>On Sat, Jun 30, 2018 at 4:20 PM, Wes James <span dir="ltr"><<a href="mailto:comptekki@gmail.com">comptekki@gmail.com</a>></span> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div dir="ltr">I have 3.26.0.<br></div>
<div><div><div><div><br></div>
<div><div>On Sat, Jun 30, 2018 at 4:16 PM, Wes James <span dir="ltr"><<a href="mailto:comptekki@gmail.com">comptekki@gmail.com</a>></span> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div dir="ltr">OK. I thought I got the latest yesterday. I'll check again.<br></div>
<div><div><div><div><br></div>
<div><div>On Sat, Jun 30, 2018 at 4:14 PM, Tristan Sloughter <span dir="ltr"><<a href="mailto:t@crashfast.com">t@crashfast.com</a>></span> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div><u></u><br></div>
<div><div>This is with rebar3 3.6.1? Why is it under `_rel`? Did you set a different output directory or are you using relx directly? In which case make sure you have version 3.26.0.<br></div>
<div><br></div>
<div>Tristan<br></div>
<div><div><div><br></div>
<div>On Sat, Jun 30, 2018, at 4:05 PM, Wes James wrote:<br></div>
</div>
</div>
<blockquote type="cite"><div><div><div dir="ltr"><div>I upgraded to erlang 21.0.1 and upgraded rebar3 to the latest and built my project, but when I ran it I got an erlexec permissions denied error. I noticed that most of the files in _rel/project_name/erts-10.0.1/<wbr>bin were set only rw not rwx. Is this a bug or do I need to change a setting somewhere?<br></div>
<div><br></div>
<div><div>This is when I run: _rel/bin/project_name console<br></div>
<div><br></div>
<div>Thanks,<br></div>
<div><br></div>
<div>-wes<br></div>
</div>
</div>
</div>
</div>
<div><u>______________________________<wbr>_________________</u><br></div>
<div>erlang-questions mailing list<br></div>
<div><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div>
<div><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br></div>
</blockquote><div><br></div>
</div>
<div><br></div>
<div>______________________________<wbr>_________________<br></div>
<div>erlang-questions mailing list<br></div>
<div><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div>
<div><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br></div>
<div><br></div>
</blockquote></div>
</div>
</div>
</div>
</blockquote></div>
</div>
</div>
</div>
</blockquote></div>
</div>
</blockquote><div><br></div>
</div>
</div>
</div>
</blockquote></div>
</div>
</div>
</div>
</div>
</blockquote><div><br></div>
</body>
</html>