Saturday, April 11, 2020

Creating A Samba Share in Debian/Ubuntu (The Right Way)

Because I can never remember how to do this when I need it.
sudo apt-get update
sudo apt-get install samba
net usershare add sharename /path '' Everyone:F guest_ok=y

This is done this way because the Ubuntu GUI will use the usershare capability in nautilus to check for shares. Usershare files are located in:
 /var/lib/samba/usershare/sharename

No comments:

Post a Comment