mkdir:无法创建目录“ / mnt / host / source / src / build”:权限被拒绝

时间:2020-06-19 00:43:02

标签: google-chrome

我尝试构建映像,但经常收到权限被拒绝的错误消息 我已经尝试过umask 022,但仍然有一些错误?应该怎么办?

ruyi-ThinkPad-X230 /mnt/host/source/src/scripts #sudo  ./build_image --board=snappy --noenable_rootfs_verification test
Chromium OS version information:
    CHROME_BASE=
    CHROME_BRANCH=85
    CHROME_VERSION=
    CHROMEOS_BUILD=13291
    CHROMEOS_BRANCH=0
    CHROMEOS_PATCH=2020_06_18_1318
    CHROMEOS_VERSION_STRING=13291.0.2020_06_18_1318
13:18:27 INFO    : The following images will be built  chromiumos_test_image.bin.
13:18:27 INFO    : Clearing shadow utils lockfiles under /build/snappy
 * Building file list for packages cleaning...
 * Your packages directory was already clean.
mkdir: cannot create directory ‘/mnt/host/source/src/build’: Permission denied
13:18:29 ERROR   :   18 13:18:29 CST 2020
13:18:29 ERROR   :  PGID  PPID   PID     ELAPSED     TIME %CPU COMMAND
13:18:29 ERROR   :   892   626   892       00:01 00:00:00 11.0 /bin/bash ./build_image --board=snappy --noenable_rootfs_verification test
13:18:29 ERROR   :   892   892  1139       00:00 00:00:00  0.0  \_ /bin/bash ./build_image --board=snappy --noenable_rootfs_verification test
13:18:29 ERROR   :   892  1139  1140       00:00 00:00:00  0.0      \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command

0 个答案:

没有答案