簡體   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

當我按照 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