1、make menuconfig rm: cannot remove `tmp/.host.mk': Permission denied
退到trunk上级目录sudo chown -R 777 trunk
2、hbg 不在 sudoers 文件中。此事将被报告。
sudo命令可以让你以root身份执行命令,来完成一些我们这个帐号完成不了的任务。
其实并非所有用户都能够执行sudo,因为有权限的用户都在/etc/sudoers中呢。
我们可以通过编辑器来打开/etc/sudoers,或者直接使用命令visudo来搞定这件事情。
打开sudoers后,像如下那样加上自己的帐号保存后就可以了。
root ALL=(ALL:ALL) ALL
hbg ALL-(ALL:ALL) ALL
# Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d