8000 mkdir: cannot create directory ‘/tmp/pkgbuild-0’: Permission denied · Issue #9 · oshazard/apacman · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mkdir: cannot create directory ‘/tmp/pkgbuild-0’: Permission denied #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionall A34D y send you account related emails.

Already on GitHub? Sign in to your account

Closed
dmp1ce opened this issue Feb 21, 2015 · 1 comment
Closed

Comments

@dmp1ce
Copy link
dmp1ce commented Feb 21, 2015

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'

@dmp1ce
Copy link
Author
dmp1ce commented Feb 21, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0