From 9520939c3f3bc4c292238dcf28f3e66a9b8201bc Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Thu, 7 May 2015 10:59:30 -0700 Subject: [PATCH 1/1] 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 Reviewed-by: Rob Crittenden --- contrib/fedora/ipsilon.spec | 4 ++-- 1 file 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 -- 2.20.1