Ubuntu 14.04 - Set Up A Public Samba Share
To install a public samba share in Ubuntu, write this script to your Ubuntu machine,
edit the two settings files at the top, and run it as root (sudo su
)
Debugging
If you experience issues, you may find it useful to run the testparm
command. This will tell you if there are any issues with your samba configuration.
References
- How to install Samba server on Ubuntu 12.04
- ServerFault - How do I force specific permissions for new files/folders on Linux file server?
- Ask Ubuntu - I cant get samba to set proper permissions on created directories
- Configure permissions and ownership for Samba on Linux
- How-To Geek - Create a Samba User on Ubuntu
- NixCraft - Test your Samba server for configuration errors
Last updated: 11th January 2025
First published: 16th August 2018
First published: 16th August 2018