Skip to content

Commit

Permalink
Change default log directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer committed Jun 4, 2020
1 parent c686deb commit 46e9225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion open_xdmod/build_scripts/templates/install.template
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function installCrond($src, $dest)
function installLog($src, $dest)
{
_info('Creating log directory');
createDir($dest, 0777);
createDir($dest, 0770);
}

function installFromMap($src, $dest, $mapSrc, $mapDest, array $options = array())
Expand Down
2 changes: 1 addition & 1 deletion open_xdmod/modules/xdmod/xdmod.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name}/
%{_docdir}/%{name}-%{version}__PRERELEASE__/

%dir %attr(0775,apache,xdmod) %{_localstatedir}/log/%{name}
%dir %attr(0770,apache,xdmod) %{_localstatedir}/log/%{name}

%dir %{_sysconfdir}/%{name}
%config(noreplace) %attr(0440,apache,xdmod) %{_sysconfdir}/%{name}/portal_settings.ini
Expand Down

0 comments on commit 46e9225

Please sign in to comment.