Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. $ su nixbld1 -s /run/current-system/sw/bin/bash [root@leto:/tmp/nix-build-node-nanopos-0.1.5.drv-1]
  2. WARNING: the per-user profile dir /nix/var/nix/profiles/per-user/root should belong to user id 30001
  3.  
  4. [nixbld1@leto:/tmp/nix-build-node-nanopos-0.1.5.drv-1]$ source env-vars
  5.  
  6. [nixbld1@leto:/build]$ cd $src
  7.  
  8. [nixbld1@leto:/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5]$ npm --offline --nodedir=/nix/store/v67zqk9iijmiray8907v8xhgrwmr1k2z-node-sources --production install
  9. npm WARN checkPermissions Missing write access to /nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5
  10. npm ERR! path /nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5
  11. npm ERR! code EACCES
  12. npm ERR! errno -13
  13. npm ERR! syscall access
  14. npm ERR! Error: EACCES: permission denied, access '/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5'
  15. npm ERR! { [Error: EACCES: permission denied, access '/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5']
  16. npm ERR! stack:
  17. npm ERR! 'Error: EACCES: permission denied, access \'/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5\'',
  18. npm ERR! errno: -13,
  19. npm ERR! code: 'EACCES',
  20. npm ERR! syscall: 'access',
  21. npm ERR! path:
  22. npm ERR! '/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5' }
  23. npm ERR!
  24. npm ERR! The operation was rejected by your operating system.
  25. npm ERR! It is likely you do not have the permissions to access this file as the current user
  26. npm ERR!
  27. npm ERR! If you believe this might be a permissions issue, please double-check the
  28. npm ERR! permissions of the file and its containing directories, or try running
  29. npm ERR! the command again as root/Administrator (though this is not recommended).
  30.  
  31. [nixbld1@leto:/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5]$ echo $^C
  32.  
  33. [nixbld1@leto:/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5]$ ls -l ^C
  34.  
  35. [nixbld1@leto:/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5]$ touch $out/foo
  36. touch: cannot touch '/nix/store/spv3pkjj5z0m14rpvr0shi1fp5br9sxh-node-nanopos-0.1.5/foo': Read-only file system
  37.  
  38. [nixbld1@leto:/nix/store/7n6c91ayl8lkvjvn7xbrwc3xxwqwban6-nanopos-4b80bd5]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement