Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] Symbian security issues in Qt/QML app
QtWS25 Last Chance

[SOLVED] Symbian security issues in Qt/QML app

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 3.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    faenil
    wrote on last edited by
    #1

    hi guys,
    I'm writing a Qt/Qml/SymbianC++ app for system tweaking...

    but I am facing a problem...

    I am trying to create a new cenrep key in 0x200159ED repository, but Symbian won't let me :) CRepository::Create returns -46 (KErrPermissionDenied) and I can't understand why...

    my app has 19 caps (ALL -TCB) and I can successfully modify values of existent keys in 0x200159ED repository...Get and Set works correctly on existent keys of the same repository...no permission denied.

    I have tried using the Set function (which should create a new key in case the one you tried to set does not exist) and the Create function...

    both returns -46 when I try to create a new key...

    Does anybody have any idea? or maybe I should ask Forum Nokia?

    Thanks in advance,
    faenil

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      If it's not Qt-specific, Forum Nokia would probably be your best bet.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        faenil
        wrote on last edited by
        #3

        well it could be Qt specific in the case dll libraries caps on Symbian are the problem :)

        anyway, I have posted in Forum Nokia too now, thanks for the advice ;)

        1 Reply Last reply
        0
        • F Offline
          F Offline
          faenil
          wrote on last edited by
          #4

          solved by myself ;)

          turned out that when cap_wr is not specified after [Platsec] tag in the .txt cenrep file,
          it defaults to alwaysfail.

          And that's why I was not able to create the new key ;)

          Hope this will be useful to the people who will have the same problem :)

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sfilippidis
            wrote on last edited by
            #5

            If you consider the issue solved, please change the thread's title so that it begins with [SOLVED]

            https://www.filippidis.name/

            1 Reply Last reply
            0
            • F Offline
              F Offline
              faenil
              wrote on last edited by
              #6

              done, thanks :)

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved