Skip to content

Instantly share code, notes, and snippets.

@baras
Created August 26, 2018 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baras/dcad72656d22ef06d375b02c28eea4a4 to your computer and use it in GitHub Desktop.
Save baras/dcad72656d22ef06d375b02c28eea4a4 to your computer and use it in GitHub Desktop.
/etc/samba/smb.conf settings to share a folder on a Linux VirtualBox to be accessed from the Windows host.
Reference: https://superuser.com/a/258103
Add this to the bottom of the file:
[www]
comment = another share
path = /var/www
guest ok = yes
browseable = yes
read only = no
create mask = 0777
directory mask = 0777
force create mode = 777
force directory mode = 777
force security mode = 777
force directory security mode = 777
force user = root
force group = root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment