Hi, On Wed, Dec 16, 2015 at 09:02:34AM +0000, Troy Yang wrote: > These days, I am working on setup nominatim in my side and following the > installation guide page. Now, the import osm file into postgre is successful. > > But when I run "./utils/setup.php" -create-functions, I got Error "could not > access file "/root/nominatim/module/nominatim.so":Permission denied. > > I can sure the nominatim.so file exists and I am running the command with > root account. I have no idea why there is still no permission. All the time I > am using root account including get the nominatim source code with git.
Don't run the installation on a root account. One wrong turn and you destroy your system. And you gain nothing permissionwise, as you just discovered. > Btw, I am an newbie on Linux, so maybe have some misunderstandings on the > permissions system. > > I tried to run: > > chmod +x ~ > chmod +x ~/nominatim > chmod +x ~/nominatim/module What about the file itself? It must be readable by the postgres user. Try chmod +r /root/nominatim/module/nominatim.so Oh, and did I mention that you must not run the whole stuff as root? Sarah _______________________________________________ Geocoding mailing list [email protected] https://lists.openstreetmap.org/listinfo/geocoding

