forked from pool/apache2-mod_nss
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:
parent
dab7162805
commit
e917663058
@ -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
|
||||
|
||||
|
@ -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,-)
|
||||
|
Loading…
Reference in New Issue
Block a user