Bug 35786

Summary: Installation should set the user
Product: Lenya Reporter: solprovider <solprovider>
Component: Build SystemAssignee: Lenya Developers <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0   
Hardware: Other   
OS: other   

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:
LENYA_OWNER=lenya
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
security.)
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