[erlang-patches] Fix reltool copy_file "not owner" error.
Saltanov, Alexey
Alexey.Saltanov@REDACTED
Tue May 21 07:39:27 CEST 2013
New links that may have been lost.
git fetch git://github.com/saltos/otp.git reltool_copy_file_not_owner_fix
https://github.com/saltos/otp/compare/maint...reltool_copy_file_not_owner_fix
https://github.com/saltos/otp/compare/maint...reltool_copy_file_not_owner_fix.patch
From: erlang-patches-bounces@REDACTED [mailto:erlang-patches-bounces@REDACTED] On Behalf Of Saltanov, Alexey
Sent: Monday, April 22, 2013 3:43 PM
To: erlang-patches@REDACTED
Subject: [erlang-patches] Fix reltool copy_file "not owner" error.
When I build rebar release (rebar generate) in the user HOME directory on the NFS (network file system) I always get an error:
==> rel (generate)
ERROR: Failed to generate target from spec: "write file info /nfs/home/user/src/rel/sep_rpr/erts-5.9.3.1/bin/erlexec: not owner"
ERROR: Unexpected error: rebar_abort
ERROR: generate failed while processing /nfs/home/user/src/rel: rebar_abort
make: *** [rel] Error 1
I found that the write_file_info() with "FromInfo" does owner the file "rel/sep_rpr/erts-5.9.3.1/bin/erlexec" as root
and setting file mode fails with error "not owner".
Here is my fix.
git fetch git://github.com/saltos/otp.git reltool_copy_file_not_owner_fix
https://github.com/saltos/otp/compare/erlang:maint...reltool_copy_file_not_owner_fix
https://github.com/saltos/otp/compare/erlang:maint...reltool_copy_file_not_owner_fix.patch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130521/7c8264a6/attachment.htm>
More information about the erlang-patches
mailing list