<div dir="ltr"><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><br>$ ls -al /usr/local/lib/erlang/erts-10.0.1/bin<br>total 20204<br>drwxr-xr-x. 2 root root 4096 Jun 29 14:55 .<br>drwxr-xr-x. 8 root root 70 Jun 29 14:55 ..<br>-rwxr-xr-x. 1 root root 19177216 Jun 29 14:55 beam.smp<br>-rwxr-xr-x. 1 root root 126704 Jun 29 14:55 ct_run<br>-rwxr-xr-x. 1 root root 124296 Jun 29 14:55 dialyzer<br>-rwxr-xr-x. 1 root root 30008 Jun 29 14:55 dyn_erl<br>-rwxr-xr-x. 1 root root 214632 Jun 29 14:55 epmd<br>-rwxr-xr-x. 1 root root 857 Jun 29 14:55 erl<br>-rwxr-xr-x. 1 root root 124088 Jun 29 14:55 erlc<br>-rwxr-xr-x. 1 root root 60864 Jun 29 14:55 erl_child_setup<br>-rwxr-xr-x. 1 root root 203776 Jun 29 14:55 erlexec<br>-rwxr-xr-x. 1 root root 851 Jun 29 14:55 erl.src<br>-rwxr-xr-x. 1 root root 127648 Jun 29 14:55 escript<br>-rwxr-xr-x. 1 root root 31824 Jun 29 14:55 heart<br>-rwxr-xr-x. 1 root root 181304 Jun 29 14:55 inet_gethost<br>-rwxr-xr-x. 1 root root 78160 Jun 29 14:55 run_erl<br>-rwxr-xr-x. 1 root root 1154 Jun 29 14:55 start<br>-rwxr-xr-x. 1 root root 1244 Jun 29 14:55 start_erl.src<br>-rwxr-xr-x. 1 root root 1148 Jun 29 14:55 start.src<br>-rwxr-xr-x. 1 root root 37216 Jun 29 14:55 to_erl<br>-rwxr-xr-x. 1 root root 118232 Jun 29 14:55 typer<br><br></div>After building with relx:<br><br>ls -al _rel/project/erts-10.0.1/bin/<br>total 20228<br>drwxrwxr-x. 2 user user 4096 Jun 30 16:39 .<br>drwxrwxr-x. 8 user user 70 Jun 30 16:39 ..<br>-rw-rw-r--. 1 user user 19177216 Jun 30 16:39 beam.smp<br>-rw-rw-r--. 1 user user 126704 Jun 30 16:39 ct_run<br>-rw-rw-r--. 1 user user 124296 Jun 30 16:39 dialyzer<br>-rw-rw-r--. 1 user user 30008 Jun 30 16:39 dyn_erl<br>-rw-rw-r--. 1 user user 214632 Jun 30 16:39 epmd<br>-rwxr-xr-x. 1 user user 248 Jun 30 16:39 erl<br>-rw-rw-r--. 1 user user 124088 Jun 30 16:39 erlc<br>-rw-rw-r--. 1 user user 60864 Jun 30 16:39 erl_child_setup<br>-rw-rw-r--. 1 user user 203776 Jun 30 16:39 erlexec<br>-rw-rw-r--. 1 user user 851 Jun 30 16:39 erl.src<br>-rw-rw-r--. 1 user user 127648 Jun 30 16:39 escript<br>-rw-rw-r--. 1 user user 31824 Jun 30 16:39 heart<br>-rw-rw-r--. 1 user user 181304 Jun 30 16:39 inet_gethost<br>-rwxr-xr-x. 1 user user 14037 Jun 30 16:39 install_upgrade.escript<br>-rwxr-xr-x. 1 user user 6080 Jun 30 16:39 nodetool<br>-rw-rw-r--. 1 user user 78160 Jun 30 16:39 run_erl<br>-rw-rw-r--. 1 user user 1154 Jun 30 16:39 start<br>-rw-rw-r--. 1 user user 1244 Jun 30 16:39 start_erl.src<br>-rw-rw-r--. 1 user user 1148 Jun 30 16:39 start.src<br>-rw-rw-r--. 1 user user 37216 Jun 30 16:39 to_erl<br>-rw-rw-r--. 1 user user 118232 Jun 30 16:39 typer<br><div><br></div><div>Only three of the copied files have x attribute.<br><br></div><div>-wes<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 30, 2018 at 4:31 PM, Tristan Sloughter <span dir="ltr"><<a href="mailto:t@crashfast.com" target="_blank">t@crashfast.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<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" target="_blank">erlang.mk</a> you are only using relx.<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-HOEnZb"><font color="#888888">
<div><br></div>
<div>Tristan<br></div></font></span><div><div class="gmail-h5">
<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" target="_blank">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" target="_blank">https://github.com/erlang/<wbr>rebar3</a><br></div>
<div><br></div>
<div><a href="https://github.com/erlware/relx" target="_blank">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" target="_blank">comptekki@gmail.com</a>></span> wrote:<br></div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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" target="_blank">comptekki@gmail.com</a>></span> wrote:<br></div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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" target="_blank">t@crashfast.com</a>></span> wrote:<br></div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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" target="_blank">erlang-questions@erlang.org</a><br></div>
<div><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">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" target="_blank">erlang-questions@erlang.org</a><br></div>
<div> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">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><br></div></div></div></div>