[arch-general] [makepkg] Permission denied on pkg/ directory

Robbie Smith zoqaeski at gmail.com
Wed Apr 10 05:31:23 EDT 2013

On 10/04/13 16:46, William Giokas wrote:
> On Wed, Apr 10, 2013 at 04:38:42PM +1000, Robbie Smith wrote:
>> I’ve been porting my old PKGBUILDs to the 4.1 format for VCS
>> packages, and for some reason I keep getting errors building the
>> package, with the pkg/ directory being created with 000 (d---------)
>> permissions. My umask isn’t malformed as I can create directories
>> and files just fine, and if I chmod the directory and re-run
>> makepkg, it seems to lock the directory.
>> Is this a bug, or a new feature of 4.1? Or have I misconfigured
>> something somewhere? I did a diff of the configuration files when
>> 4.1 was released so they should be up-to-date.
> Stuff in the build() function should not be touching the $pkgdir, that
> should all happen in the package() function. This is to somewhat force
> people to use package functions and not put everything in the build
> function.
> Thanks,
Ah I see what I was doing wrong. build() had a `make install` 
invocation. Cheers.

More information about the arch-general mailing list