Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Synced folder permissions problem in macOS Sierra #194

Open
tomascohen opened this issue May 24, 2017 · 5 comments
Open

Synced folder permissions problem in macOS Sierra #194

tomascohen opened this issue May 24, 2017 · 5 comments
Labels

Comments

@tomascohen
Copy link
Contributor

There's a bug in Sierra's NFS server that makes the synced folder permissions be wrong and cause trouble (notably when developing plugins).

I file this issue for informational purposes because we expect people to be hit by this problem.

@tomascohen tomascohen added the bug label May 24, 2017
@oleonard
Copy link
Contributor

oleonard commented Jun 2, 2017

When I use kohadevbox on my Mac I find that synced folders don't work unless I explicitly use SYNC_REPO with "vagrant up." Is this related?

@tomascohen
Copy link
Contributor Author

@oleonard, that's the way it works. I have it set on my .bashrc file to avoid forgetting it.

@tomascohen
Copy link
Contributor Author

Issue #191 could make it possible to just define that in the config file

@oleonard
Copy link
Contributor

oleonard commented Jun 2, 2017

Sorry I should have been more specific: I have it in .bashrc too, but it still doesn't work unless I use SYNC_REPO. Sounds like it's a problem with my setup though.

@ldjamison
Copy link
Contributor

I just installed a 100% clean install of Sierra. I had initially run into the problem but I fixed it by:

1.) Since ~/.bash_profile doesn't exist by default on a Sierra install I ran touch ~/.bash_profile.
2.) I added the export SYNC_REPO line to the blank ~/.bash_profile.
3.) Ran source ~/.bash_profile
4.) Then I ran just vagrant up without SYNC_REPO in the call and it worked perfectly.

Note that I only have ~/.bash_profile created and not ~/.bashrc. I don't know if it's related to the @oleonard problem, but I know that bash reads from .bash_profile before .bashrc. Hope this helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants