Skip to content

Instantly share code, notes, and snippets.

@tPl0ch
Last active December 12, 2015 01:18
Show Gist options
  • Save tPl0ch/4689863 to your computer and use it in GitHub Desktop.
Save tPl0ch/4689863 to your computer and use it in GitHub Desktop.
Required packages on host:
cifs-utils
# /etc/samba/smb.conf
...
[www]
comment = www
path = /var/www
public = yes
writable = yes
create mask = 0775
directory mask = 0775
force user = vagrant
force group = www-data
follow symlinks = yes
wide links = yes
# /bin/bash - on guest - only needed when private share is used.
$ sudo smbpasswd -a vagrant
# Mount share - on host
$ sudo mount -t cifs -o guest //192.168.33.10/www /mnt/myprojects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment