Bug 1001472 - Systemd unit should be 644 permission.
Systemd unit should be 644 permission.
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: rabbitmq-server (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Peter Lemenkov
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-27 02:40 EDT by Christopher Meng
Modified: 2013-08-27 05:32 EDT (History)
2 users (show)

See Also:
Fixed In Version: rabbitmq-server-3.1.5-2.fc21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-27 05:32:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christopher Meng 2013-08-27 02:40:13 EDT
Quoted:

#Copy all necessary lib files etc.
%if 0%{?el5}%{?el6}
install -p -D -m 0755 %{S:1} %{buildroot}%{_initrddir}/rabbitmq-server
%else
install -p -D -m 0755 %{S:6} %{buildroot}%{_unitdir}/%{name}.service
%endif

install -p -D -m 0755 %{S:6} %{buildroot}%{_unitdir}/%{name}.service

should be 

install -p -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/%{name}.service

as there is no need to set it as 755.

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