{"action":"created","issue":{"url":"https://api.github.com/repos/js-platform/node-webrtc/issues/160","labels_url":"https://api.github.com/repos/js-platform/node-webrtc/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/js-platform/node-webrtc/issues/160/comments","events_url":"https://api.github.com/repos/js-platform/node-webrtc/issues/160/events","html_url":"https://github.com/js-platform/node-webrtc/issues/160","id":56220614,"number":160,"title":"Npm install tar command gives operation not permitted","user":{"login":"thebillkidy","id":591282,"avatar_url":"https://avatars.githubusercontent.com/u/591282?v=3","gravatar_id":"","url":"https://api.github.com/users/thebillkidy","html_url":"https://github.com/thebillkidy","followers_url":"https://api.github.com/users/thebillkidy/followers","following_url":"https://api.github.com/users/thebillkidy/following{/other_user}","gists_url":"https://api.github.com/users/thebillkidy/gists{/gist_id}","starred_url":"https://api.github.com/users/thebillkidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebillkidy/subscriptions","organizations_url":"https://api.github.com/users/thebillkidy/orgs","repos_url":"https://api.github.com/users/thebillkidy/repos","events_url":"https://api.github.com/users/thebillkidy/events{/privacy}","received_events_url":"https://api.github.com/users/thebillkidy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-02T10:43:22Z","updated_at":"2015-02-03T08:55:36Z","closed_at":null,"body":"When running `npm install` I get the following errors:\r\n\r\n```\r\nTrying to download prebuilt clang\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 23.3M  100 23.3M    0     0  4018k      0  0:00:05  0:00:05 --:--:-- 5397k\r\ntar: bin/clang++: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: bin/clang: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: bin/llvm-symbolizer: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: bin: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/libFindBadConstructs.so: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/mm3dnow.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/emmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/mm_malloc.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/limits.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/xopintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/stdnoreturn.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/wmmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/cpuid.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/tbmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/rtmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/f16cintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/varargs.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/avx512erintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/xmmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/arm_acle.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/iso646.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/unwind.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/immintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/lzcntintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/__wmmintrin_pclmul.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/Intrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/ia32intrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/fmaintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/nmmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/stddef.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/float.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/ammintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/altivec.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/tgmath.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/shaintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/avxintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/bmi2intrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/avx512fintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/smmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/module.modulemap: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/mmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/common_interface_defs.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/asan_interface.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/tsan_interface_atomic.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/linux_syscall_hooks.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/lsan_interface.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/dfsan_interface.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/msan_interface.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer/allocator_interface.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/sanitizer: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/arm_neon.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/popcntintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/rdseedintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/pmmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/stdarg.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/stdalign.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/stdint.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/__wmmintrin_aes.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/x86intrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/prfchwintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/avx2intrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/bmiintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/tmmintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/fma4intrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/adxintrin.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include/stdbool.h: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/include: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/msan_blacklist.txt: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/asan_blacklist.txt: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.profile-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.ubsan-i386.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.san-i386.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.profile-i386.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.msan-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.asan-i386.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.asan_cxx-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.asan_cxx-i386.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.profile-pic-i386.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.san-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.asan-arm-android.so: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.asan-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.tsan-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.asan-x86_64.a.syms: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.ubsan_cxx-x86_64.a.syms: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.msan-x86_64.a.syms: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.ubsan_cxx-i386.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.tsan-x86_64.a.syms: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.ubsan-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.asan_cxx-x86_64.a.syms: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.profile-pic-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.ubsan-x86_64.a.syms: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux/libclang_rt.ubsan_cxx-x86_64.a: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib/linux: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0/lib: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang/3.6.0: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/clang: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/libBlinkGCPlugin_12.so: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib/libstdc++.so.6: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: lib: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: buildlog.txt: Cannot change ownership to uid 107418, gid 5000: Operation not permitted\r\ntar: Exiting with failure status due to previous errors\r\nERROR: 2 null\r\n```\r\n\r\nI already tried running with sudo rights but that gave me the same errors. Can anybody help me with this?"},"comment":{"url":"https://api.github.com/repos/js-platform/node-webrtc/issues/comments/72615026","html_url":"https://github.com/js-platform/node-webrtc/issues/160#issuecomment-72615026","issue_url":"https://api.github.com/repos/js-platform/node-webrtc/issues/160","id":72615026,"user":{"login":"thebillkidy","id":591282,"avatar_url":"https://avatars.githubusercontent.com/u/591282?v=3","gravatar_id":"","url":"https://api.github.com/users/thebillkidy","html_url":"https://github.com/thebillkidy","followers_url":"https://api.github.com/users/thebillkidy/followers","following_url":"https://api.github.com/users/thebillkidy/following{/other_user}","gists_url":"https://api.github.com/users/thebillkidy/gists{/gist_id}","starred_url":"https://api.github.com/users/thebillkidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebillkidy/subscriptions","organizations_url":"https://api.github.com/users/thebillkidy/orgs","repos_url":"https://api.github.com/users/thebillkidy/repos","events_url":"https://api.github.com/users/thebillkidy/events{/privacy}","received_events_url":"https://api.github.com/users/thebillkidy/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T08:55:36Z","updated_at":"2015-02-03T08:55:36Z","body":"Also, Apparently there is a fix for the untar ownership changing.\r\n\r\nIn this file on line 203: \r\n\r\nhttps://github.com/js-platform/libwebrtc/blob/e2342a1ecf75018e3abf732be896a57991aeb9cb/chromium/src/tools/clang/scripts/update.sh\r\n\r\n\r\nYou should append `--no-same-owner ` at the end.\r\nsource: http://www.krenger.ch/blog/linux-tar-cannot-change-ownership-to-permission-denied/\r\n\r\nIf this can be done then I will also be able to install this in a docker container."}}