Bug 21704 - Installing Bugzilla causes the home directory to be taken over by owner root group apache
Summary: Installing Bugzilla causes the home directory to be taken over by owner root ...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: feedback
Depends on:
Blocks:
 
Reported: 2017-09-13 22:15 CEST by Lewis Smith
Modified: 2017-09-14 20:41 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Lewis Smith 2017-09-13 22:15:15 CEST
Description of problem:
When installing/configuring Bugzilla, the home directory worked from has its ownership changed to:
 drwxr-x--- 35 root  apache  4096 Med  11 09:17 ./
See the end of the these comments:
 https://bugs.mageia.org/show_bug.cgi?id=21561#c26
 https://bugs.mageia.org/show_bug.cgi?id=16776#c14
Easily recoverable by (as root):
 # chown <user>:<user> /home/<user>

Version-Release number of selected component (if applicable):
 Both Mageia 5 and 6

Steps to Reproduce:
Fully install Bugzilla (as root), revert to the normal user, you are denied access to your home directory as noted above.

This will be tedious to test: if you already have bugzilla running, you do not want to disturb it. If not, it is a long process - to do twice! And Mageia 5 is nearly expired.
Lewis Smith 2017-09-13 22:16:14 CEST

Whiteboard: (none) => MGA5TOO

Comment 1 Dave Hodgins 2017-09-13 23:42:37 CEST
Sounds like using "su" to become root instead of "su -" (short for su -login).

If so, this is not a bug, but incorrect use of su.

CC: (none) => davidwhodgins
Keywords: (none) => feedback

Comment 2 Dave Hodgins 2017-09-14 00:18:24 CEST
Just tested installing and configuring bugzilla on Mageia 6 x86_64.

No changes to ownership in /home. Closing as invalid.

Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 3 Lewis Smith 2017-09-14 20:41:21 CEST
(In reply to Dave Hodgins from comment #1)
> Sounds like using "su" to become root instead of "su -" (short for su
> -login).
> If so, this is not a bug, but incorrect use of su.
Just so. But I always do this, so doubt the designation 'incorrect'. Never mind,
happy to close the bug. The fewxer the better.

Note You need to log in before you can comment on or make changes to this bug.