Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128298

Summary: permission error on ebuild
Product: Gentoo Linux Reporter: James Horton <wireless>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: wireless
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/jffnms.xml
Whiteboard:
Package list:
Runtime testing required: ---

Description James Horton 2006-03-31 14:08:06 UTC
following the installation document:
http://www.gentoo.org/doc/en/jffnms.xml

I get to this step:
 initdb -D /var/lib/postgresql/data
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /var/lib/postgresql/data ... initdb: could not create
directory "/var/lib/postgresql": Permission denied


so 'chmod 777 /var/lib' fixes the problem. The ebuild probably 
need to check for correct permissions on /var/lib or find another
solution to this permission problem.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 14:10:11 UTC
I wanted you to file a new bug about the typo in the docs, not a dupe about the permissions problem.

*** This bug has been marked as a duplicate of 128291 ***