[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-10 Thread Florian Boucault
** Changed in: camera-app
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-07 Thread Zsombor Egri
I can confirm that the warning caused by
QStandardDialogs::writableLocation(RuntimeLocation) doesn't chmod
anymore, no warning  log is shown anymore on camera app logs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-07 Thread Timo Jyrinki
** Changed in: qtbase-opensource-src (Ubuntu)
   Status: Incomplete = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-07 Thread Launchpad Bug Tracker
This bug was fixed in the package qtbase-opensource-src - 5.3.0+dfsg-
2ubuntu9

---
qtbase-opensource-src (5.3.0+dfsg-2ubuntu9) 14.09; urgency=medium

  * Don-t-always-chmod-the-XDG_RUNTIME_DIR.patch
Report-the-system-error-on-why-chmod-2-failed-in-XDG.patch:
- Cherry-pick two fixes so that apps don't incorrectly chmod
  (LP: #1359831)
 -- Timo Jyrinki timo-jyri...@ubuntu.com   Fri, 03 Oct 2014 08:02:30 +

** Changed in: qtbase-opensource-src (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-03 Thread Timo Jyrinki
** Changed in: qtbase-opensource-src (Ubuntu)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-03 Thread Timo Jyrinki
Can you test https://launchpad.net/~ci-train-ppa-service/+archive
/ubuntu-rtm/landing-007 (add deb http://ppa.launchpad.net/ci-train-ppa-
service/landing-007/ubuntu-rtm 14.09 mainto /etc/apt/sources.list
and dist-upgrade) and report if it fixes the issue? I can then start
preparing validating/landing the release.

** Changed in: qtbase-opensource-src (Ubuntu)
   Status: In Progress = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-02 Thread Zsombor Egri
This looks like the problem of using QStandardPaths::writableLocation().

The relevant code snipped from 
QStandardPaths::writableLocation(RuntimeLocation):
   // and he MUST be the only one having read and write access to it. Its 
Unix access mode MUST be 0700.
QFile file(xdgRuntimeDir);
const QFile::Permissions wantedPerms = QFile::ReadUser | 
QFile::WriteUser | QFile::ExeUser;
if (file.permissions() != wantedPerms  
!file.setPermissions(wantedPerms)) {
qWarning(QStandardPaths: wrong permissions on runtime directory 
%s, qPrintable(xdgRuntimeDir));
return QString();
}

where QFile::permissions() drills down to ask for permissions using
QFileSystemMetaData::doStat(). This seems to cause the chmod issue we
have.

Not sure whether the failure described in this bug is caused by the
Toolkit's StateSaver services, but in case bug #1363112 fix solves this
issue, it can be marked as resolved. In StateSaver we have similar
issues as here, so at least I suspect the root cause is the same as we
have in the other bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-02 Thread Zsombor Egri
Actually, there is a setPermissions() call so seems the XDG_RUNTIME_DIR
permission are detected to differ from the wanted ones!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-02 Thread Jamie Strandboge
As mentioned in bug 1363112, file.permissions() seems to be returning 4
digits rather than the 3 that are being compared in wantedPerms, so the
comparison will never match.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-02 Thread Zsombor Egri
Both permissions are in Qt QFile::Permissions format, which is not the
same as the UNIX permission values are.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-02 Thread Zsombor Egri
Filed a bug upstream https://bugreports.qt-
project.org/browse/QTBUG-41735

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-10-02 Thread Timo Jyrinki
** Changed in: qtbase-opensource-src (Ubuntu)
 Assignee: (unassigned) = Timo Jyrinki (timo-jyrinki)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-09-29 Thread David Planella
** Changed in: reminders-app
   Status: New = Invalid

** Changed in: sudoku-app
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-09-25 Thread Jamie Strandboge
I accidentally hit 'Post comment' before finishing.

I realize this is triaged for touch-2014-10-09, but this bug is causing
people a lot of confusion (I've been asked about it 5 times from 5
different people so far this week). I marked it as high-- it isn't user
facing, but when triaging bugs in an app, people inevitably and
understandably think this bug is the cause for a while. Feel free to
adjust the priority; I just wanted to make sure people understood the
developer confusion it causes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-09-25 Thread Jamie Strandboge
I realize this is triaged for touch-2014-10-09, but this bug is causing
people a lot of confusion (I've been asked about it 5 times from 5
different people so far this week).

** Changed in: qtbase-opensource-src (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-09-10 Thread Bill Filler
** Tags removed: touch-2014-09-11
** Tags added: touch-2014-10-09

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-09-05 Thread Florian Boucault
** Changed in: camera-app
 Assignee: Florian Boucault (fboucault) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-09-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: qtbase-opensource-src (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-08-29 Thread Bill Filler
** Changed in: camera-app
 Assignee: (unassigned) = Florian Boucault (fboucault)

** Tags added: touch-2014-09-11

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-08-28 Thread Bill Filler
** Tags added: rtm14

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-08-27 Thread Florian Boucault
** Changed in: camera-app
   Importance: Undecided = Medium

** Changed in: camera-app
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1359831] Re: Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

2014-08-22 Thread Jamie Strandboge
Adding task for qtbase-opensource-src, please feel free to reassign to
another source if this is incorrect.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1359831

Title:
  Apps incorrectly perform a chmod on XDG_RUNTIME_DIR

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1359831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs