forked from pool/gromox
- Updated directory permissions
OBS-URL: https://build.opensuse.org/package/show/server:mail/gromox?expand=0&rev=39
This commit is contained in:
parent
6e06289f53
commit
24be27798a
@ -17,18 +17,20 @@ set_perms()
|
||||
|
||||
xpostinst()
|
||||
{
|
||||
set_perms root grommunio 0770 /etc/gromox || :
|
||||
set_perms grommunio gromox 0755 /etc/gromox || :
|
||||
for i in /var/lib/gromox \
|
||||
/var/lib/gromox/domain \
|
||||
/var/lib/gromox/user \
|
||||
/var/lib/gromox/queue \
|
||||
/var/lib/gromox/queue/cache \
|
||||
/var/lib/gromox/queue/clone \
|
||||
/var/lib/gromox/queue/insulation \
|
||||
/var/lib/gromox/queue/mess \
|
||||
/var/lib/gromox/queue/save \
|
||||
/var/lib/gromox/queue/timer \
|
||||
/var/log/gromox; do
|
||||
/var/lib/gromox/queue/timer; do
|
||||
set_perms gromox gromox 0770 "$i" || :
|
||||
done
|
||||
set_perms gromox gromox 0750 /var/log/gromox || :
|
||||
|
||||
# %post
|
||||
if test -x /usr/bin/systemd-tmpfiles; then
|
||||
|
@ -3,6 +3,7 @@ Mon Mar 13 09:13:31 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Add 0001-snapshot-safer-parsing-of-snapshot.cfg.patch
|
||||
[boo#1209051]
|
||||
- Updated directory permissions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 9 23:44:07 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
@ -226,9 +226,9 @@ fi
|
||||
|
||||
%files
|
||||
%_sysconfdir/php*
|
||||
# Group write permission is exercised by grommunio-admin-api.
|
||||
# pam.cfg needs to be readable by all
|
||||
%attr(0775,root,grommunio) %dir %_sysconfdir/%name/
|
||||
# grommunio permission is exercised by grommunio-admin-api.
|
||||
# pam.cfg needs to be readable by all (hence d0755).
|
||||
%attr(0755,grommunio,gromox) %dir %_sysconfdir/%name/
|
||||
%_sbindir/gromox-*
|
||||
%_libdir/*.so.*
|
||||
%_libdir/%name/
|
||||
@ -240,7 +240,7 @@ fi
|
||||
%_tmpfilesdir/*.conf
|
||||
%_unitdir/*
|
||||
%attr(0770,gromox,gromox) /var/lib/gromox/
|
||||
%attr(0770,gromox,gromox) /var/log/gromox/
|
||||
%attr(0750,gromox,gromox) /var/log/gromox/
|
||||
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
||||
%dir %_libexecdir
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user