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

QSharedMemory memory cannot be shared with other accounts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.11
    • Fix Version/s: None
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:
      Debian 10
    • Platform/s:
      Linux/Wayland, Linux/X11

      Description

      I want create memory and shared it to other users, but other users can not read. I run a command ipcs, then I found that my memory perms signed 600. I'm sure that problems locate here: qsharedmemory_systemv.cpp line 158, it call shmget method used 0600 flag.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-86258
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              caowei 曹 诗瑛
              Reporter:
              caowei 曹 诗瑛
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There is 1 open Gerrit change