Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80886 - zprod-manager does not set correct ownership to installed products
Summary: zprod-manager does not set correct ownership to installed products
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Radoslaw Stachowiak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 10:40 UTC by Marco Lazzeri
Modified: 2006-11-05 21:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Lazzeri 2005-02-05 10:40:16 UTC
After installing products you are not able to start zope because they haven't the correct ownership. Maybe zprod-manager should set the ownership to the user defined as 'effective-user' in ZOPE_INSTACE/etc/zope.conf.

Reproducible: Always
Steps to Reproduce:
1. start zprod-manager as root
2. add new product(s) into a zope instance
3. (re)start the zope instance

Actual Results:  
Zope does not start.

Expected Results:  
Zope should install the new products.
Comment 1 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-02-17 06:31:39 UTC
hello, thank you for your comment.

afaik zprod-manager installs files with correct permissions. anyway zope-config & zprod-manager have some quirks, but many people use them withou problems.

so could you please:
1. give us version of zope/zope-config/zprod-manager
2. info about your zope instance and its permissions
3. info about permissions of products in global product repository (/usr/share/zproduct)
4. info about wrong (broken) permission after unsuccesfull instalion by zprod-manager.

looking forward info from you.
Comment 2 Marco Lazzeri 2005-04-05 06:47:57 UTC
Updating to version 0.3 resolves the problem; but I'm getting some matter installing archetypes-1.2.5_rc5 on Zope 2.7.4. Should I enter a new bug?

This is the output I'm getting:

cp: cannot stat `/usr/share/zproduct//archetypes-1.2.5_rc5/ArchExample': No such file or directory
cp: cannot stat `/usr/share/zproduct//archetypes-1.2.5_rc5/ArchGenXML': No such file or directory
chown: cannot access `/var/lib/zope/zope-pol/Products/ArchExample': No such file or directory
chmod: cannot access `/var/lib/zope/zope-pol/Products/ArchExample': No such file or directory
chown: cannot access `/var/lib/zope/zope-pol/Products/ArchGenXML': No such file or directory
chmod: cannot access `/var/lib/zope/zope-pol/Products/ArchGenXML': No such file or directory
Comment 3 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-04-05 07:51:39 UTC
no. This is problem with /usr/share/zproduct/archetypes-1.2.5_rc5/.zfolder.lst file, which lists directory to copy on product installation done by zprod-manager. in this case this is known problem related to archetypes, not the zprod-manager.
thank you for your information
Comment 4 Andrew Ross (RETIRED) gentoo-dev 2006-11-05 21:29:07 UTC
Fixed in 0.3 according to comment #2