Re: Fix reltool copy_file "not owner" error.
"Saltanov, Alexey" <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] [mailto:[email protected]] On Behalf Of Saltanov, Alexey Sent: Monday, April 22, 2013 3:43 PM To: [email protected] 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 _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches