简体   繁体   English

Chromium OS 构建映像:mkdir: 无法创建目录 '/mnt/host/source/src/build': Permission denied

[英]Chromium OS build image :mkdir: cannot create directory ‘/mnt/host/source/src/build’: Permission denied

When I follow the Chromium OS Developer Guide and run:./build_image --board=${BOARD} --noenable_rootfs_verification dev I meet当我按照 Chromium OS 开发人员指南运行:./build_image --board=${BOARD} --noenable_rootfs_verification dev 我遇到

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

使用sodu可以解决这个问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM