Permissions issue with vagrant virtualbox -


i have debian virtualbox set vagrant, in have codebase project i'm working on , i've set folder holds codebase synced host machine (which mac os 10.8.4). learned in order change permissions on subfolders on synced folder must host machine, problem application creates folders (and subfolders) , expects able write them. since vm doesn't have ability chmod it's own folders these folders not created write access default. how can achieved?

note: i've tried using umask both host , vm. works on host since changes per terminal don't propagate vm, using on vm doesn't work because folders managed host.

umask should way go.

to make persistent, need add umask 027 (or whatever mask want) ~/.bash_profile interactive login shell or ~/.bashrc interactive non-login shell user running application, or make system wide placing in /etc/profile.

note: ubuntu uses ~/.profile , not have ~/.bash_profile.

alternatively, set umask before running application help.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -