Bug 1001472 - Systemd unit should be 644 permission.
Summary: Systemd unit should be 644 permission.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rabbitmq-server
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-27 06:40 UTC by Christopher Meng
Modified: 2013-08-27 09:32 UTC (History)
2 users (show)

Fixed In Version: rabbitmq-server-3.1.5-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-27 09:32:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christopher Meng 2013-08-27 06:40:13 UTC
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.