Bug 1375039 - file ownership incorrect in RPM
Summary: file ownership incorrect in RPM
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: 5.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-12 03:19 UTC by Rony Gong 🔥
Modified: 2018-12-09 06:29 UTC (History)
3 users (show)

Fixed In Version: 5.0.3-rh8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-11 01:04:00 UTC


Attachments (Terms of Use)

Description Rony Gong 🔥 2016-09-12 03:19:35 UTC
Description of problem:
Please make the spec file  could change all files belong to user apache

Version-Release number of selected component (if applicable):
5.0.

How reproducible:


Steps to Reproduce:
1.[root@bz-web bugzilla]# su - apache -s /bin/bash -c /usr/share/rh-bugzilla/bin/rh-create-templates.pl 
Removing existing compiled templates...
Precompiling templates...done.
Creating t/.htaccess...
Permission denied at /var/www/html/bugzilla//Bugzilla/Install/Filesystem.pm line 651.

2.
[root@bz-web bugzilla]# ls -ld /var/www/html/bugzilla/t
drwxr-xr-x. 3 root root 4096 Sep 12 02:39 /var/www/html/bugzilla/t

[root@bz-web bugzilla]# ls -ld /var/www/html/bugzilla/xt
drwxr-xr-x. 3 root root 4096 Sep 12 02:39 /var/www/html/bugzilla/xt
3.

Actual results:


Expected results:


Additional info:

Comment 1 Rony Gong 🔥 2016-10-09 02:15:29 UTC
Tested on QA environment(5.0.3-rh8)
Result: Pass
Steps:
1.[root@bz-web bugzilla]# su - apache -s /bin/bash -c /usr/share/rh-bugzilla/bin/rh-create-templates.pl 
Removing existing compiled templates...
Precompiling templates...done.
Creating t/.htaccess...
==>Without any error
2.
[root@bz-web bugzilla]# ls -ld /var/www/html/bugzilla/t
==>
drwxr-xr-x. 3 apache apache 4096 Sep 12 02:39 /var/www/html/bugzilla/t


3.[root@bz-web bugzilla]# ls -ld /var/www/html/bugzilla/xt
==>
drwxr-xr-x. 3 apache apache 4096 Sep 12 02:39 /var/www/html/bugzilla/xt


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