Code Monkey home page Code Monkey logo

Comments (4)

mykola-mokhnach avatar mykola-mokhnach commented on May 24, 2024

[GeckoDriver@7133 (736c9dd5)] Got response with status 500: {"value":{"error":"unknown error","message":"adb error: couldn't create file: Permission denied","stacktrace":""}}

As you can see there the error os coming from geckodriver itself. You could assign the verbosity capability to trace in order to see more detailed geckodriver output and attach the resulting log here

from appium-geckodriver.

mykola-mokhnach avatar mykola-mokhnach commented on May 24, 2024

also I can observe this error in the linked issue report:

[debug] [GeckoDriver@03b7 (1d39ac55)] 1677837573945 mozdevice TRACE execute_host_command: >> "shell:su 0 chmod -R 777 /sdcard/Android/data/org.mozilla.fenix/files/test_root/org.mozilla.fenix-geckodriver-profile"

have you tried to run it manually from the terminal? what was the output?

from appium-geckodriver.

AlexandraMoga avatar AlexandraMoga commented on May 24, 2024

So, if I run adb shell "su 0 chmod -R 777 /sdcard/Android/data/org.mozilla.fenix/files/test_root/org.mozilla.fenix-geckodriver-profile" from the terminal I receive a No such file or directory response.
If I check the emulator file system, I can see that these files don't exist on the sdcard. Also, given the fact that the emulator is rooted, shouldn't internal storage take precedence when a new file is created? I am a bit confused why the program chooses the external storage.

from appium-geckodriver.

mykola-mokhnach avatar mykola-mokhnach commented on May 24, 2024

I don't know. I assume there might be some bug in the geckodriver itself, so it verifies folder existence first or runs mkdir -p before running chmod

You could probably also play with appium:androidStorage capability value

from appium-geckodriver.

Related Issues (11)

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.