[Live-demo] please avoid chown user:user

Stefan Hansen stefan.hansen at lisasoft.com
Fri Sep 18 01:12:36 PDT 2009


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.

cheers,
stefan


--
Stefan Hansen
Software Engineer
LISAsoft

---------------------------------------------------
Ph: +61 3 8680 3200 Fax: +61 3 8680 3299 Mob: +61
Level 9, 601 Bourke St, Melbourne Vic 3000
---------------------------------------------------

LISAsoft is part of the A2end Group of Companies
http://www.ardec.com.au
http://www.lisasoft.com
http://www.terrapages.com


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.



More information about the Osgeolive mailing list