Projects
Kolab:3.4
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 48
View file
debian.changelog
Changed
@@ -6,6 +6,7 @@ pykolab (0.6.9-0~kolab8) unstable; urgency=low + * Avoid setting permissions that collide with those needed on UCS * Define build requirement on univention-config-dev | bash in pykolab.dsc as well -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 26 Nov 2013 20:00:00 +0100
View file
debian.tar.gz/pykolab.postinst
Changed
@@ -32,25 +32,29 @@ --home /var/lib/kolab \ --gecos "Kolab System Account (R)" kolab-r &>/dev/null || : - # Re-base the POSIX permission set on to the reference platform - chown root:root /etc/kolab - chmod 755 /etc/kolab - chown kolab-n:kolab /etc/kolab/kolab.conf - chmod 640 /etc/kolab/kolab.conf - - chown -R kolab:kolab-n /var/lib/kolab /var/log/kolab - chmod 775 /var/lib/kolab /var/log/kolab - - if dpkg-statoverride --list /var/lib/kolab >/dev/null; then - dpkg-statoverride --remove /var/lib/kolab - fi - - if dpkg-statoverride --list /var/log/kolab >/dev/null; then - dpkg-statoverride --remove /var/log/kolab + if [ -x "$(which ucr 2>/dev/null)" ]; then + # Re-base the POSIX permission set on to the reference platform, but only + # if we're not installed on UCS. + chown root:root /etc/kolab + chmod 755 /etc/kolab + chown kolab-n:kolab /etc/kolab/kolab.conf + chmod 640 /etc/kolab/kolab.conf + + chown -R kolab:kolab-n /var/lib/kolab /var/log/kolab + chmod 775 /var/lib/kolab /var/log/kolab + + if dpkg-statoverride --list /var/lib/kolab >/dev/null; then + dpkg-statoverride --remove /var/lib/kolab + fi + + if dpkg-statoverride --list /var/log/kolab >/dev/null; then + dpkg-statoverride --remove /var/log/kolab + fi + + dpkg-statoverride --update --add kolab kolab-n 775 /var/lib/kolab + dpkg-statoverride --update --add kolab kolab-n 775 /var/log/kolab fi - dpkg-statoverride --update --add kolab kolab-n 775 /var/lib/kolab - dpkg-statoverride --update --add kolab kolab-n 775 /var/log/kolab ;; esac
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.