[ gpsdrive ] [gpsdrive] update-mapnik-from-planet.sh

Joerg Ostertag (gpsdrive Munich/Germany) gpsdrive at ostertag.name
Fri Oct 12 23:05:53 AKDT 2007


> I am just running this program, and it is trying to change the ownership of
> every file in 

> my home 

This is a problem. But you shouldn't use your username as the download and 
install user. This username is the download and install user. (normally osm) 
The osm-user normally only should have the planet files in his home directory 
and nothing else.

> directory. Surley this is wrong.  

As you see changing your "personal home directory" is definitely not intended 
nor usefull.

> as you can see it is changing the ownership of every file in
> /home/$user_name, then making all the files read, write and executeable.
>
>
> Or am I doing something wrong ? (Wouldn't be the first time)

Well almost. You first got me too. But then I had a closer look.
This command makes all the files read and writable for the user. Which is 
good, since otherwise the user can't write his own files. The +X (which is 
uppercase) means to set all x-Bits only for directories and executable files. 
Which sounds reasonable to me.

What i did for now; is to reduce this to the directory "/home/$user_name/osm" 
The new Version can be found in svn. I also renamed it to 
rendering/mapnik/mapnik-osm-updater.sh

-- 

Jörg (Germany, Munich)

http://www.ostertag.name/
Tel.: +49 89 420950304
Skype: JoergOstertag


More information about the GPSdrive mailing list