summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2015-05-07 10:59:30 -0700
committerNathan Kinder <nkinder@redhat.com>2015-05-07 10:59:30 -0700
commitc631d9cdfef89f922f5baf5466925c0627171980 (patch)
treedbd7e08f8e3ccdd09bec264fefd7ac66a1666f75
parent93d4e52712767fe955f3a44a60a6c6f0f909423b (diff)
downloadipsilon-c631d9cdfef89f922f5baf5466925c0627171980.tar.gz
ipsilon-c631d9cdfef89f922f5baf5466925c0627171980.tar.xz
ipsilon-c631d9cdfef89f922f5baf5466925c0627171980.zip
Fix ownership of config and state directoriesspec_ownership
The recent RPM package restructing introduced some problems with the ownership of /etc/ipsilon and /var/lib/ipsilon. These were previously owned by the 'ipsilon' user, but the changes resulted in the ownership being set as root since the 'ipsilon' user was not yet created when the directories were installed. While discussing this problem, it was determined that we should have the ownership of these directories be root, but allow other users to traverse through them so they can access subdirectories that they have permissions on.
-rw-r--r--contrib/fedora/ipsilon.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fedora/ipsilon.spec b/contrib/fedora/ipsilon.spec
index 1127944..89752e7 100644
--- a/contrib/fedora/ipsilon.spec
+++ b/contrib/fedora/ipsilon.spec
@@ -317,8 +317,8 @@ fi
%{_datadir}/ipsilon/ui/js
%{_datadir}/ipsilon/ui/fonts
%{_libexecdir}/ipsilon
-%dir %attr(0700,ipsilon,ipsilon) %{_sharedstatedir}/ipsilon
-%dir %attr(0700,ipsilon,ipsilon) %{_sysconfdir}/ipsilon
+%dir %attr(0751,root,root) %{_sharedstatedir}/ipsilon
+%dir %attr(0751,root,root) %{_sysconfdir}/ipsilon
%files client
%{_bindir}/ipsilon-client-install