Git Product home page Git Product logo

Comments (5)

filips123 avatar filips123 commented on June 2, 2024

launching cmd itself through PowerToys Run and attempting to run the command to launch the site through there results in the error "access is denied (os error 5)

Considering that this happens, it might be the same issue as #460.

Basically, PWAsForFirefox needs a JOB_OBJECT_LIMIT_BREAKAWAY_OK permission when launching the runtime, so that launching web apps from the extension works. But some tools (possibly including PowerToys Run), don't set this permission for some reason, so launching fails.

However, your problem is a bit different, as running as administrator fixed your issue, but didn't in case of the original one. So I'm not completely sure why this happens.

I will try to fix launching when that permission is not set in the future.

from pwasforfirefox.

AthreyaV avatar AthreyaV commented on June 2, 2024

Follow up info, I learned that you can actually set power toys as a whole to run as admin through settings and this effectively fixes the issue- PWA shortcuts launch fine and no UAC prompt every time. I assume the actual mechanism as to why this works is the same as my initial workaround, just applied at a different point in the chain.

I would say this issue is technically closed but I'm curious to see where your digging leads with that permissions issue

from pwasforfirefox.

filips123 avatar filips123 commented on June 2, 2024

I've tested it on Windows 10 and 11 (although with a quite old version of 11), with the latest PowerToys 0.80.1, and it works fine without any additional configuration or running as admin.

I've also checked if PowerToys uses job objects anywhere but I couldn't find it (but maybe I missed something). So, maybe it's not related to the issue with the JOB_OBJECT_LIMIT_BREAKAWAY_OK permission.

Do you use the latest PowerToys version? Also, can you check if it works with the default PowerToys settings?

from pwasforfirefox.

filips123 avatar filips123 commented on June 2, 2024

I fixed the issue with JOB_OBJECT_LIMIT_BREAKAWAY_OK in 2.12.0. Please update (the native program) to 2.12.0 and check if it fixes your issue.

from pwasforfirefox.

AthreyaV avatar AthreyaV commented on June 2, 2024

solved, works perfectly fine without requiring admin now

from pwasforfirefox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.