Issue 78735 - Extension Manager: Shared extension leaves trash in userdir / breaks deinstall and unopkg
Summary: Extension Manager: Shared extension leaves trash in userdir / breaks deinstal...
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: current
Hardware: All Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: joachim.lingner
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-21 08:00 UTC by joerg.skottke
Modified: 2007-07-24 14:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2007-06-21 08:00:57 UTC
This is a follow-up to issue #78732

Prerequisite:
- Office installed as root
- Star office as local user once, close it

Reproduction:
- Open a terminal, do a 'sudo /opt/staroffice8/program/unopkg gui' (might work
with 'su -' as well).
- Try to install an extension that has a license (e.g. ShortLicense.oxt).
-> You will be warned that the extension cannot be installed (all users must
accept license), so far so good.

- Abort the installation
- As the local user open a terminal and try to delete the userlayer.
-> There is a lot of garbage in the userlayer and the user is unable to remove
the directory.
   (The files have root as owner!)
-> The Extension Manager is broken for the user.

A testenvironment is available upon request.
Comment 1 joachim.lingner 2007-06-21 08:55:32 UTC
.
Comment 2 joachim.lingner 2007-06-25 12:10:03 UTC
I think this behavior is correct. All files which are written belong to root
when one uses sudo.
Comment 3 joachim.lingner 2007-07-24 14:18:11 UTC
.