From: Nathan Kinder Date: Thu, 7 May 2015 17:59:30 +0000 (-0700) Subject: Fix ownership of config and state directories X-Git-Tag: v1.0.0~23 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=9520939c3f3bc4c292238dcf28f3e66a9b8201bc 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 --- 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