Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
kinit.5268
0001-Fix-permissions-of-tmp-xauth-xxx-_y.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-permissions-of-tmp-xauth-xxx-_y.patch of Package kinit.5268
From: taro yamada <archer_ame@yahoo.co.jp> Date: Tue, 17 May 2016 22:08:09 +0000 Subject: Fix permissions of /tmp/xauth-xxx-_y X-Git-Tag: v5.23.0 X-Git-Url: http://quickgit.kde.org/?p=kinit.git&a=commitdiff&h=dece8fd89979cd1a86c03bcaceef6e9221e8d8cd --- Fix permissions of /tmp/xauth-xxx-_y BUGS: 358593 --- --- a/src/kdeinit/kinit.cpp +++ b/src/kdeinit/kinit.cpp @@ -1531,6 +1531,7 @@ QSaveFile xauthfile(xauth); QFile xauthfrom(QFile::decodeName(qgetenv("XAUTHORITY"))); if (!xauthfrom.open(QFile::ReadOnly) || !xauthfile.open(QFile::WriteOnly) + || !xauthfile.setPermissions(QFile::ReadOwner | QFile::WriteOwner) || xauthfile.write(xauthfrom.readAll()) != xauthfrom.size() || !xauthfile.commit()) { // error } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor