[erlang-questions] erlexec permissions denied error on start after building release
Wes James
comptekki@REDACTED
Mon Jul 2 18:02:46 CEST 2018
That did it!
relx --version is now 3.26.0 and the permissions are correct now in the
release folder.
Thanks!
-wes
On Mon, Jul 2, 2018 at 9:55 AM, Loïc Hoguin <essen@REDACTED> wrote:
> It's
>
> $ make erlang-mk
>
> With a dash, not a dot.
>
> It should produce some output to indicate that it's updating.
>
> Cheers,
>
> On 07/02/2018 05:53 PM, Wes James wrote:
>
>> I did:
>>
>> make erlang.mk <http://erlang.mk>
>> make distclean
>> make
>>
>> then .erlang.mk/relx <http://erlang.mk/relx> --version says 3.24.5
>>
>> 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/reb
>> ar3>
>> <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/lis
>> tinfo/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/lis
>> tinfo/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/lis
>> tinfo/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/lis
>> tinfo/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/lis
>> tinfo/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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180702/97bb12cc/attachment.htm>
More information about the erlang-questions
mailing list