Giter Site home page Giter Site logo

Comments (4)

r8 avatar r8 commented on July 16, 2024 1

Yes, as far as I know, that's a limitation of Virtualbox. Because of the way it works with shared folders.

But you can invoke your script passing its name to shell executable. So you could run your script not using simple ./install.sh, but using bash install.sh command

from vagrant-lamp.

XedinUnknown avatar XedinUnknown commented on July 16, 2024

Ok, apparently it's impossible by design to change permissions on shared (i.e. mounted) folders. So, how can I execute a script in the shared directory without making all mounted files executable? Is this possible at all?

from vagrant-lamp.

dubaaron avatar dubaaron commented on July 16, 2024

Is this a limitation of Virtualbox, no matter what synced folder provider it's using (e.g., SMB, NFS, Rsync, etc)? Or only with the default "VirtualBox" provider? @r8

PS, thanks for the reminder about that handy workaround.

from vagrant-lamp.

r8 avatar r8 commented on July 16, 2024

That's 100% limitation of Virtualbox shared folders.

I think Rsync should work fine (but I can't tell for sure without trying)

It might work with NFS, but NFS has own caveats (for example root squashing)

from vagrant-lamp.

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.