[erlang-questions] erlexec permissions denied error on start after building release
Loïc Hoguin
essen@REDACTED
Mon Jul 2 17:43:51 CEST 2018
The steps I gave you earlier should have done it. Do it in the project
where you build the release. Other erlang.mks don't matter.
On 07/02/2018 05:39 PM, Wes James wrote:
> I have been using cowboy 2.4.0. I'm guessing cowboy master will pull
> the correct one.
>
> On Mon, Jul 2, 2018 at 9:37 AM, Wes James <comptekki@REDACTED
> <mailto:comptekki@REDACTED>> wrote:
>
> .erlang.mk/relx <http://erlang.mk/relx> says 2.23.0. Looking in
> erlang.mk <http://erlang.mk>, it looked like it was pulling from
> erlware/relx master. How do I get it to pull 2.26.0?
>
> On Mon, Jul 2, 2018 at 9:06 AM, Loïc Hoguin <essen@REDACTED
> <mailto:essen@REDACTED>> wrote:
>
> Yes but that issue is supposed to be resolved for both current
> versions of rebar3 and erlang.mk <http://erlang.mk>.
>
> Try:
>
> $ ./.erlang.mk/relx <http://erlang.mk/relx> --version
> 3.26.0
>
> If you don't have this version, then your Relx is probably
> outdated, maybe you have a specific version configured via
> RELX_URL or are building it yourself in another way?
>
> If you do have this version then you probably have a genuine bug.
>
> Cheers,
>
> On 07/02/2018 05:01 PM, Wes James wrote:
>
> It looks like this issue has already been posted on github
> (erlware/relx), issue #660.
>
> On Mon, Jul 2, 2018 at 8:32 AM, Wes James
> <comptekki@REDACTED <mailto:comptekki@REDACTED>
> <mailto:comptekki@REDACTED <mailto:comptekki@REDACTED>>>
> wrote:
>
> I tried that and erlexec, etc., are still rw instead of
> rwx on
> centos 7. I'll file a bug on the erlware/relx github repo.
>
> Thanks,
>
> -wes
>
> On Sun, Jul 1, 2018 at 8:03 AM, Loïc Hoguin
> <essen@REDACTED <mailto:essen@REDACTED>
> <mailto:essen@REDACTED
> <mailto:essen@REDACTED>>> wrote:
>
> Just update erlang.mk <http://erlang.mk>
> <http://erlang.mk> and remove the cache
> and it'll work:
>
> $ make erlang-mk
> $ make distclean # or just rm -rf .erlang.mk
> <http://erlang.mk>
> <http://erlang.mk> to go faster
> $ make
>
> On 07/01/2018 12:27 AM, Wes James wrote:
>
> I thought relx was just another name for
> rebar. I'm using
> erlang.mk <http://erlang.mk> <http://erlang.mk>
> <http://erlang.mk> and it has
> relx in the script.
>
> I'm seeing these 2:
>
> https://github.com/erlang/rebar3
> <https://github.com/erlang/rebar3>
> <https://github.com/erlang/rebar3
> <https://github.com/erlang/rebar3>>
>
> https://github.com/erlware/relx
> <https://github.com/erlware/relx>
> <https://github.com/erlware/relx
> <https://github.com/erlware/relx>>
>
> On Sat, Jun 30, 2018 at 4:20 PM, Wes James
> <comptekki@REDACTED
> <mailto:comptekki@REDACTED> <mailto:comptekki@REDACTED
> <mailto:comptekki@REDACTED>>
> <mailto:comptekki@REDACTED
> <mailto:comptekki@REDACTED> <mailto:comptekki@REDACTED
> <mailto:comptekki@REDACTED>>>>
> wrote:
>
> I have 3.26.0.
>
> On Sat, Jun 30, 2018 at 4:16 PM, Wes James
> <comptekki@REDACTED
> <mailto:comptekki@REDACTED> <mailto:comptekki@REDACTED
> <mailto:comptekki@REDACTED>>
> <mailto:comptekki@REDACTED
> <mailto:comptekki@REDACTED>
> <mailto:comptekki@REDACTED
> <mailto:comptekki@REDACTED>>>> wrote:
>
> OK. I thought I got the latest
> yesterday. I'll
> check again.
>
> On Sat, Jun 30, 2018 at 4:14 PM,
> Tristan Sloughter
> <t@REDACTED
> <mailto:t@REDACTED> <mailto:t@REDACTED
> <mailto:t@REDACTED>>
> <mailto:t@REDACTED
> <mailto:t@REDACTED> <mailto:t@REDACTED
> <mailto:t@REDACTED>>>> wrote:
>
> __
> 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.
>
> Tristan
>
> On Sat, Jun 30, 2018, at 4:05 PM,
> Wes James wrote:
>
> 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/bin were set
> only rw not rwx. Is this a
> bug or do I
> need to change a
> setting somewhere?
>
> This is when I run:
> _rel/bin/project_name
> console
>
> Thanks,
>
> -wes
>
> _________________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>>
>
> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>
> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>>>
> http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
>
> <http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>>
>
> <http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
>
> <http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>>>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>>
> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>
> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>>>
> http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
>
> <http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>>
>
> <http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
>
> <http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>>>
>
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>
> <mailto:erlang-questions@REDACTED
> <mailto:erlang-questions@REDACTED>>
> http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
>
> <http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>>
>
>
> -- Loïc Hoguin
> https://ninenines.eu
>
>
>
>
> --
> Loïc Hoguin
> https://ninenines.eu
>
>
>
--
Loïc Hoguin
https://ninenines.eu
More information about the erlang-questions
mailing list