Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set file/folder permissions on shared folders #33

Closed
sendoa opened this issue May 21, 2014 · 1 comment
Closed

Set file/folder permissions on shared folders #33

sendoa opened this issue May 21, 2014 · 1 comment

Comments

@sendoa
Copy link

sendoa commented May 21, 2014

Is there any way to set custom folder permissions for the shared folders on the guest machine? I want to chmod some folders (like Laravel's app/storage folder, file-uploads folder…) but the chmod command doesn't have any effect on them.

I found a solution for other vagrant environments I work on with this setting for the Vagrantfile:

config.vm.synced_folder "./shared", "/var/www", :owner => "www-data", :group => "www-data"

But I don't know if the current Homestead behavior is intended or not.

Thank you!

@taylorotwell
Copy link
Member

Sure, feel free to add this to your file as needed.

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

No branches or pull requests

2 participants