why do I need to run pkg_glob as root?

Fernan Aguero fernan at iib.unsam.edu.ar
Fri Mar 17 20:59:38 UTC 2006

[fernan at omega] pkg_glob -R x11-toolkits/gtkmm24
** You do not own /var/db/pkg. (use -f to force or run as root)
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ

Of course I do not own /var/db/pkg ... but I can read it!

[fernan at omega] ls -ld /var/db/pkg
drwxr-xr-x  483 root  wheel  13824 Mar 17 17:52 /var/db/pkg

I can even get a list of required packages for gtkmm24 just
by doing something like:
grep pkgdep /var/db/pkg/gtkmm-2.8.3_2/+CONTENTS | awk '{print $2}'

so why can't pkg_glob?


More information about the freebsd-ports mailing list