Score:0

How to delete shared folder in Ubuntu Samba

cn flag

I created 3-4 folder for sharing and now ı want to delete one of them, I deleted folder from smb.conf file but still I can use this folder. How I delete?

in flag
After removing the storage location from the configuration file, did you restart Samba? What OS is/are the client(s) using? Windows will cache Samba locations for quite a while regardless of their continued existence.
TheCeylann avatar
cn flag
@matigo Yes I removed and restarted Samba. My Server Machine OS is Ubuntu 18.04 and Clients are windows 10. I just deleted from smb.conf file
Morbius1 avatar
es flag
Ubuntu 18 Server or Ubuntu 18 Desktop used as a server? You may have created shares through the file manager. Look at `/var/lib/samba/usershares`. You may have shares defined there.
TheCeylann avatar
cn flag
@Morbius1 Yes I used ubuntu 18.04 desktop as a server. Thank you for comment. It really helps me
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.