1
0

Accepting request 431310 from home:jengelh:branches:Apache:Modules

- Avoid changing permissions through symlinks

OBS-URL: https://build.opensuse.org/request/show/431310
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_nss?expand=0&rev=30
This commit is contained in:
Vítězslav Čížek 2016-10-06 08:55:55 +00:00 committed by Git OBS Bridge
parent dab7162805
commit e917663058
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 29 15:26:39 UTC 2016 - jengelh@inai.de
- Avoid changing permissions through symlinks
-------------------------------------------------------------------
Thu Sep 15 10:44:06 UTC 2016 - vcizek@suse.com

View File

@ -199,8 +199,8 @@ if [ ! -e %{apache_sysconf_nssdir}/key3.db ]; then
echo ""
fi
# Make sure that the database ownership is setup properly.
find %{apache_sysconf_nssdir} -user root -name "*.db" -exec /bin/chgrp www {} \;
find %{apache_sysconf_nssdir} -user root -name "*.db" -exec /bin/chmod 640 {} \;
find %{apache_sysconf_nssdir} -user root -name "*.db" -exec /bin/chgrp -h www {} +
find %{apache_sysconf_nssdir} -user root -name "*.db" ! -type l -exec /bin/chmod 640 {} +
%files
%defattr(-,root,root,-)