Bug 35786 - Installation should set the user
Summary: Installation should set the user
Alias: None
Product: Lenya
Classification: Unclassified
Component: Build System (show other bugs)
Version: 2.0
Hardware: Other other
: P2 normal
Target Milestone: 2.0
Assignee: Lenya Developers
Depends on:
Reported: 2005-07-19 02:16 UTC by solprovider
Modified: 2007-07-16 01:59 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description solprovider 2005-07-19 02:16:20 UTC
(Is the "Build System" Component for installer issues?  This should be applied
to ALL versions, but that choice is missing.  I marked it 1.4 since that was the
latest complaint on the UserML, but I noticed it with 1.2.2.)

This is a common issue on the MLs.

[From my original thread on the mailing list!]
The installer be modified to set the owner.  Two lines should solve this:
chown -R $LENYA_OWNER $tomcat.webapps.dir
Just need to figure out where to put them.

Gregor responded:
The owner would have to be a build property.

More: The owner should be configured and set for all platforms (Tomcat, Jetty,
other.)  It should be ignored on MSWindows (since it does not have process
Comment 1 J 2007-04-25 10:35:12 UTC
under all sane operating systems, setting the owner implies root privileges.
running a complex (and potentially hostile) compile as root cannot be recommended.
hence, if you want to have restrictive rights on the files (which is certainly a
good idea), become root and chown -R them manually.

Comment 2 Thorsten Scherler 2007-07-16 01:59:15 UTC
Renaming Lenya 1.4 to 2.0