0

When I follow the Chromium OS Developer Guide and run:./build_image --board=${BOARD} --noenable_rootfs_verification dev I meet

mkdir: cannot create directory ‘/mnt/host/source/src/build’: Permission  denied
ERROR   : 2016year 11month 27day Sunday 13:10:03 CST
ERROR   :  PGID  PPID   PID     ELAPSED     TIME %CPU COMMAND
ERROR   :    12     6    12    01:29:43 00:00:00  0.0 -bash
ERROR   : 14953    12 14953       00:08 00:00:00  1.1  \_ /bin/bash ./build_image --board=x86-generic --noenable_rootfs_verification dev
ERROR   : 14953 14953 15284       00:00 00:00:00  0.0      \_ /bin/bash ./build_image --board=x86-generic --noenable_rootfs_verification dev
ERROR   : 14953 15284 15285       00:00 00:00:00  0.0          \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
ERROR   : Arguments of 14953: ./build_image '--board=x86-generic' '--noenable_rootfs_verification' 'dev'
ERROR   : Backtrace:  (most recent call is last)
ERROR   :  build_image:181:main(), called: die_err_trap  
ERROR   : 
ERROR   : Command failed:
ERROR   :   Command 'mkdir -p "${BUILD_DIR}"' exited with nonzero code: 1
Duane Lortie
  • 1,285
  • 1
  • 12
  • 16

2 Answers2

2

Please read this Chromium Doc

While you are at it please Verify that your default file permissions (umask) setting is correct

Parag Jadhav
  • 1,853
  • 2
  • 24
  • 41
-4

Use sodu can solve this problem