The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,544     Votes:  1     ✅ Solution
Tags: nautilus   samba   file-sharing   sharing  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1245644
Title: How to *STOP* sharing a folder
ID: /2020/06/01/How-to-*STOP*-sharing-a-folder
Created: June 1, 2020    Edited:  June 1, 2020
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


You should read all the answers here:

But the solution which seems best is:

sudo apt -y remove --purge samba samba-common cifs-utils smbclient
sudo rm -rf /var/cache/samba /etc/samba /run/samba /var/lib/samba /var/log/samba

If you want to keep samba and only one to uncheck a specific folder see this:

The share definitions are in /var/lib/samba/usershares. Open it (as root if necessary) and remove the definition files.

⇧ I have just one OS in my laptop, why Have I 3 partitions? bluetooth headphones (Powerbeats Pro) not able to switch to hsp/hfp Ubuntu 20.04  ⇩