Timo Aaltonen pushed to branch ubuntu at X Strike Force / xserver / xorg-server
Commits: 3773ab0f by Timo Aaltonen at 2018-06-06T11:15:57+03:00 import 2:1.19.6-1ubuntu4 - - - - - 3 changed files: - debian/changelog - + debian/patches/fix-default-permissions.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== --- a/debian/changelog +++ b/debian/changelog @@ -34,6 +34,13 @@ xorg-server (2:1.19.99.901-1) experimental; urgency=medium -- Timo Aaltonen <tjaal...@debian.org> Fri, 23 Mar 2018 18:18:38 +0200 +xorg-server (2:1.19.6-1ubuntu4) bionic; urgency=medium + + * debian/patches/fix-default-permissions.patch: fix default permissions + when creating the log directory. (LP: #1735929) + + -- Marc Deslauriers <marc.deslauri...@ubuntu.com> Fri, 13 Apr 2018 11:31:45 -0400 + xorg-server (2:1.19.6-1ubuntu3) bionic; urgency=medium * dri2-Sync-i965_pci_ids.h-from-Mesa.patch: Update i965_pci_ids.h to ===================================== debian/patches/fix-default-permissions.patch ===================================== --- /dev/null +++ b/debian/patches/fix-default-permissions.patch @@ -0,0 +1,21 @@ +Description: fix default permissions when creating the log directory. +Author: Marc Deslauriers <marc.deslauri...@canonical.com> +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/session-migration/+bug/1735929 + +Index: xorg-server-1.19.6/hw/xfree86/common/xf86Helper.c +=================================================================== +--- xorg-server-1.19.6.orig/hw/xfree86/common/xf86Helper.c 2018-04-13 11:30:50.090528041 -0400 ++++ xorg-server-1.19.6/hw/xfree86/common/xf86Helper.c 2018-04-13 11:31:30.246621218 -0400 +@@ -1221,10 +1221,10 @@ static void xf86_mkdir_p(char *path) + + while ((sep = strchr(sep + 1, '/'))) { + *sep = 0; +- (void)mkdir(path, 0777); ++ (void)mkdir(path, 0700); + *sep = '/'; + } +- (void)mkdir(path, 0777); ++ (void)mkdir(path, 0700); + } + + void ===================================== debian/patches/series ===================================== --- a/debian/patches/series +++ b/debian/patches/series @@ -22,3 +22,4 @@ no-nv.patch xf86-ignore-conflicting-rr-caps.patch xi2-resize-touch.patch +fix-default-permissions.patch View it on GitLab: https://salsa.debian.org/xorg-team/xserver/xorg-server/commit/3773ab0fb2ae37a6e0939781feb70bd23aef253e -- View it on GitLab: https://salsa.debian.org/xorg-team/xserver/xorg-server/commit/3773ab0fb2ae37a6e0939781feb70bd23aef253e You're receiving this email because of your account on salsa.debian.org.