Stefan Hansen ha scritto:
Hi all!
I played in the last couple of days a bit with generating an ISO-image
from the VM and ran into a few problems.
One of them is that some install-scripts change the owner of some files
outside $HOME to "user". Unfortunately this doesn't go well when you
boot from the LiveDVD. The original "user" is deleted, when the ISO is
generated, and a new user is created during the boot process (apparently
that is the way things have to be). Files that belonged to the old
"user" belong on the LiveDVD to the uid=1000, but the new user has the
uid=999. Therefore, the new user cannot write these files and some
applications won't work (so far I had problems with Geoserver and
Degree, but I haven't tested all applications). So Instead of changing
the owner of a file or directory, please keep root as owner and just
change the access permissions. If you do so, please only change the
write-permissions of a file only if you really, really have to. AFAIK
everything writable is loaded into the memory, when you boot from the DVD.
The GeoServer data directory needs to be writable in order for GeoServer
to work.
By what you said all that I need to do is to change the script so that
all files are writable by everyone even if they are owned by root?
Something like "chmod a+w -R <data dir>"?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
_______________________________________________
Live-demo mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/live-demo