Permalink
Browse files

Merge pull request #165 from dcarley/rpm_file_perms

Change ownership of /etc/riak for RPM packages
  • Loading branch information...
Jared Morrow
Jared Morrow committed Jun 22, 2012
2 parents c5c0583 + c4bf26b commit 24e965baaeb92ddd408c82a9c1b6099313411432
Showing with 9 additions and 9 deletions.
  1. +9 −9 package/rpm/SPECS/riak.spec
@@ -155,17 +155,17 @@ fi
find %{platform_lib_dir} -name "*.so" -exec chcon -t textrel_shlib_t {} \;
%files
-%defattr(-,riak,riak)
-%attr(-,root,root) %{_libdir}/*
+%defattr(-,root,root)
+%{_libdir}/*
%dir %{platform_etc_dir}
%config(noreplace) %{platform_etc_dir}/*
-%attr(0755,root,root) %{init_script}
-%attr(0755,root,root) %{platform_bin_dir}/%{name}
-%attr(0755,root,root) %{platform_bin_dir}/%{name}-admin
-%attr(0755,root,root) %{platform_bin_dir}/search-cmd
-%attr(0644,root,root) %{_mandir}/man1/*
-%{platform_data_dir}
-%{platform_log_dir}
+%{init_script}
+%{platform_bin_dir}/%{name}
+%{platform_bin_dir}/%{name}-admin
+%{platform_bin_dir}/search-cmd
+%{_mandir}/man1/*
+%attr(-,riak,riak) %{platform_data_dir}
+%attr(-,riak,riak) %{platform_log_dir}
%clean
rm -rf %{buildroot}

0 comments on commit 24e965b

Please sign in to comment.