[postgis-users] PostGIS 2.0 installation problem - Ubuntu 12.04

Stephen Woodbridge woodbri at swoodbridge.com
Fri May 4 16:06:52 PDT 2012


On 5/4/2012 7:02 PM, jeffmeyer wrote:
> Hi all - apologies if this is posted elsewhere - I couldn't find anything
> about it:
>
> the postGIS2.0 README states:
>
> To install PostGIS library and utilities, as postgres run::
>
>    make install
>
> But, make install requires su privileges (in order to create certain
> directories) and the default postgres user account doesn't have this. Do I
> need to elevate postgres to su? Isn't that a security issue?
>
> Currently, when I make install as postgres, I get the following error:
>
> cp: cannot create regular file `/usr/local/lib/_inst.32562_': Permission
> denied
> make[1]: *** [install-liblwgeom] Error 1
> make[1]: Leaving directory `/var/lib/postgresql/postgis-2.0.1SVN/liblwgeom'
> make: *** [install] Error 1

Jeff,

Installation of system libraries requires sudo or root. This is the case 
for all software. Installation is the root user's responsibility. Once 
the software is installed it can be started and will run as the 
appropriate user in this case postgres.

-Steve W



More information about the postgis-users mailing list