Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138984

Possible misinterpretation of specifications.freedesktop.org/trash-spec

XMLWordPrintable

    • Linux/Wayland, Linux/X11, Linux/Other display system
    • c86a33db0 (dev), 6fa36f0c8 (6.10), 04ae1919b (6.9), 349e5c29e (tqtc/lts-6.8)

      openDirFd is used by openOrCreateDir is used by getTrashDir

      This fails if ~/.local/share/Trash is a symlink because of O_DIRECTORY, but afaiu the trash spec this is wrong and the restriction should only apply to $topdir/.Trash directories (on other filesystems), not the $HOME one as it's only mentioned in the paragraph starting with
      (1) An administrator can create an $topdir/.Trash directory...

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            lbkng Thomas Lübking
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes