pkgng/pkgng — Issue #127: pkg create may dump core on permission denied
Author: infofarmer
Created: 2012-01-27 06:13:22+00:00
State: open

Trying to create a package of sudo without the root privileges results in the following:

```
Creating package for sudo-1.8.3_1
pkg: fopen(/usr/local/bin/sudoedit): Permission denied
Assertion failed: (value > 0 && document->nodes.start + value <= document->nodes.top),
function yaml_document_append_mapping_pair,
file pkgng/external/libyaml/src/api.c, line 1379.
zsh: abort (core dumped) pkg create -a
```