summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2015-05-07 10:59:30 -0700
committerRob Crittenden <rcritten@redhat.com>2015-05-07 15:36:09 -0400
commit9520939c3f3bc4c292238dcf28f3e66a9b8201bc (patch)
treeba594c54f6e9719b8c6c13b209a718dd14e143e3
parent1bcc0d697dd37a9268641f0cbaa7e9e781552233 (diff)
downloadipsilon-9520939c3f3bc4c292238dcf28f3e66a9b8201bc.tar.gz
ipsilon-9520939c3f3bc4c292238dcf28f3e66a9b8201bc.tar.xz
ipsilon-9520939c3f3bc4c292238dcf28f3e66a9b8201bc.zip
Fix ownership of config and state directories
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. Signed-off-by: Nathan Kinder <nkinder@redhat.com> Reviewed-by: Rob Crittenden <rcritten@redhat.com>
-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