Why do I get permission denied when I try use “make” to install something?

后端 未结 5 443
走了就别回头了
走了就别回头了 2021-02-01 04:47

I\'m trying to install something and it\'s throwing me an error: Permission denied when I try to run make on it.

I\'m not too fond of the unive

5条回答
  •  渐次进展
    2021-02-01 04:54

    The problem is frequently with 'secure' setup of mountpoints, such as /tmp

    If they are mounted noexec (check with cat /etc/mtab and or sudo mount) then there is no permission to execute any binaries or build scripts from within the (temporary) folder.

    E.g. to remount temporarily:

     sudo mount -o remount,exec /tmp
    

    Or to change permanently, remove noexec in /etc/fstab

提交回复
热议问题