You are not logged in.

#1 2008-01-21 04:48:20

cycleger
Member
Registered: 2007-12-31
Posts: 7

Permission denied with makepkg

This is my first (and second) try at makepkg. I believe I've followed the makepkg wiki closely, just experimenting using the example package rufus. I also tried with a different package and got the same error.

bsdtar: Failed to open '/home/user/packages/rufus-0.7.0-1-i686.pkg.tar.gz': Permission denied
==> ERROR: Failed to create package file.

Any insight would be greatly appreciated

Offline

#2 2008-01-21 05:30:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Permission denied with makepkg

What's your working directory when you run makepkg? (pwd)

It seems you're trying to put a created package in a nonexistent location or one you have no write rights to. Perhaps you have PKGDEST set to /home/user/packages in /etc/makepkg.conf (is "user" your actual username?).

Offline

#3 2008-01-23 02:27:15

cycleger
Member
Registered: 2007-12-31
Posts: 7

Re: Permission denied with makepkg

Solved
I have to chalk this one up to operator error. Much too long a day and too late at night. I created that directory as root, just typed it out as a user and never saw the error. Next morning I had an idea what I did, I just haven't been able to get back to it till now
Thanks for your input

Offline

Board footer

Powered by FluxBB