Global and User package database

2011-12-15 Thread Mehmet Erol Sanliturk
Dear All , In the new PkgNG : https://github.com/pkgng/pkgng/blob/master/pkg/add.c the following statement is written : if (geteuid() != 0) { warnx(adding packages can only be done as root); return (EX_NOPERM); } Instead of the above

Re: Global and User package database

2011-12-15 Thread Baptiste Daroussin
On Thu, Dec 15, 2011 at 02:10:57PM -0500, Mehmet Erol Sanliturk wrote: Dear All , In the new PkgNG : https://github.com/pkgng/pkgng/blob/master/pkg/add.c the following statement is written : if (geteuid() != 0) { warnx(adding packages can only be done as

Re: Global and User package database

2011-12-15 Thread Mehmet Erol Sanliturk
On Thu, Dec 15, 2011 at 4:06 PM, Baptiste Daroussin b...@freebsd.orgwrote: On Thu, Dec 15, 2011 at 02:10:57PM -0500, Mehmet Erol Sanliturk wrote: Dear All , In the new PkgNG : https://github.com/pkgng/pkgng/blob/master/pkg/add.c the following statement is written :

Re: Global and User package database

2011-12-15 Thread Baptiste Daroussin
On Thu, Dec 15, 2011 at 10:13:19PM -0500, Mehmet Erol Sanliturk wrote: On Thu, Dec 15, 2011 at 4:06 PM, Baptiste Daroussin b...@freebsd.orgwrote: On Thu, Dec 15, 2011 at 02:10:57PM -0500, Mehmet Erol Sanliturk wrote: Dear All , In the new PkgNG :