Giter VIP home page Giter VIP logo

Comments (7)

outime avatar outime commented on August 15, 2024 3

from ghunt.

baimard avatar baimard commented on August 15, 2024 3

I have solved that problem by

docker run -v $(pwd)/resources:/usr/src/app/resources -u root -ti ghunt check_and_gen.py

from ghunt.

0xadam avatar 0xadam commented on August 15, 2024 1

I get the same issue with the current master. My guess would be it's because the docker container is running as the "app" user, while the resources folders will be owned by whatever user cloned it and have 755 permissions, meaning the container isn't able to write the data.txt there.

from ghunt.

outime avatar outime commented on August 15, 2024 1

@0xadam it'd be nice to provide a way for Windows users as well. The README was already falling short because it used pwd so it's perhaps a good moment to provide a better example.

from ghunt.

mxrch avatar mxrch commented on August 15, 2024

@outime can you take a look at this ?

from ghunt.

0xadam avatar 0xadam commented on August 15, 2024

Take a look at #46 as I think that should fix it.

from ghunt.

0xadam avatar 0xadam commented on August 15, 2024

Ahh I see. Looks like under Windows the SMB protocol is used for volume mounts so permissions issues like this may not be a problem. But if they are I'm not how much can be done to easily fix them. Hopefully there is a way to get things working under it... Maybe the patch above but without passing the extra build args on Windows?

from ghunt.

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.