[Live-demo] Provide .fix files for all Shapefiles

Hamish hamish_b at yahoo.com
Wed Aug 11 07:09:45 EDT 2010


Stefan wrote:
> Accoring to bin/main.sh the bin/install_gisdata.sh is
> executed after bin/install_atlasstyler.sh, so the following
> patch is open for comments.


the correct fix is not to work around the problem by polluting
the filesystem with app-specific hacks, but rather to fix the
app's install script.

in this case make the data dir owned by the "users" group and
group-writable, and add the user to the users group.

chmod -R g+w /a/b/c/
chown -R root.users /a/b/c/
adduser $USER_NAME users

the exact UID gets reset in the ISO creation so we just can't
make the file owned by any added user account, but we can use
a standard group acc't as GID are static among the distro,
and often ubuntu/debian too.

also we worry that the /home/user dir will be kept in RAM,
perhaps all user owned files too. (??)

see install_udig.sh and other scripts for an example.

if data is in (or symlinked to) /usr/local/share/data/ it should
be easily found, but at this point I think only critical changes
should be made.

**please do not make any files 'chmod 777'


regards,
Hamish


      


More information about the Live-demo mailing list