[erlang-patches] Fix reltool copy_file "not owner" error.

Saltanov, Alexey <>
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


From:  [mailto:] On Behalf Of Saltanov, Alexey
Sent: Monday, April 22, 2013 3:43 PM
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- 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-" 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130521/7c8264a6/attachment-0001.html>

More information about the erlang-patches mailing list