因为修改/etc下文件,直接makepkg
报错:
Permission denied
但我makepkg --asroot
又报错:
==> ERROR: The --asroot option is meant for the root user only. Please
rerun makepkg without the --asroot flag.
因为修改/etc下文件,直接makepkg
报错:
Permission denied
但我makepkg --asroot
又报错:
==> ERROR: The --asroot option is meant for the root user only. Please
rerun makepkg without the --asroot flag.
修改系统文件的操作只能放在 install 文件里。makepkg 是使用普通用户身份打包的,它没有 root 权限,也不应该对打包目录外的文件(缓存除外)产生影响。
你不应该修改 /etc/profile,而应该往 /etc/profile.d 里加自己的文件。
原来如此,谢谢仙子~