Comments (4)
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.
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.
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.
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)
- Forward hkp port 11371 for downloading percona repository keys in Ubuntu
- MySQL server instance changed after vagrant reload HOT 2
- How to add an new host? - everytime redirect to local.dev HOT 11
- Vagrant up failed! HOT 2
- Update npm modules installation
- How to use SSL
- connect to mysql via SQLYog HOT 2
- Error: Missing required value for `chef.nodes_path'. HOT 4
- local.dev wont appear on my machine. HOT 3
- Windows10 x64 'vagrant up' error HOT 5
- Add support for vagrant-hostsupdater HOT 1
- win10 virtual5.1 vagrant1.9.3
- Error with Git on vagrant up HOT 3
- Error on vagrant up: Receipe Compile Error HOT 1
- Enable innodb_file_per_table
- Use new syntax for memory/cpu customization
- vagrant up fails
- .dev TLD Not working anymore HOT 1
- reload Provision fails due to poise HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-lamp.