Closed dmp1ce closed 7 years ago
When I try to install a package using the following command 'apacman -S --noconfirm ' I get the error:
mkdir: cannot create directory ‘/tmp/pkgbuild-0’: Permission denied ==> ERROR: You do not have write permission to create packages in /tmp/pkgbuild-0
I am running this as root user. I am using the Arch Linux vagrant box here: https://atlas.hashicorp.com/terrywang/boxes/archlinux
Any idea why the root user wouldn't be able to create the directory there? I noticed that directory is owned by user 'aurbuild'
My umask was set to 027 which was causing the problem for me. Running umask 022 fixed the issue for me. apacman may want to check for the umask before trying to install as root.
umask 022
When I try to install a package using the following command 'apacman -S --noconfirm ' I get the error:
I am running this as root user. I am using the Arch Linux vagrant box here: https://atlas.hashicorp.com/terrywang/boxes/archlinux
Any idea why the root user wouldn't be able to create the directory there? I noticed that directory is owned by user 'aurbuild'