All of the folders I set as a locale network share by right clicking on a folder and selecting local network share, (which is the third method listed below to set a share) revert back to an unshared folder when ever the system is shut down and restarted? What causes this, and how do I prevent it from happening?
Just to add a little more information: I am running Ubuntu Desktop 16.04
As I understand it there are three ways to create a shared folder.
- creating it manually in the smb.conf file
- using the Samba GUI (system-config-samba) which edits the smb.conf file for you, or
- by right clicking on a folder and selecting local network share, selecting share this folder and allow others to create and delete files in this folder, and clicking on create share. The folder is then changed to a shared folder which displays the two arrows on it.
(as Elder Geek has stated, this method does not update the smb.conf file, which answers why the folder does not remain shared)
I believe the folder is no longer shared after restarting for two reasons;
- first when I restart the computer and then check the folder (which in this case resides on my desktop) by right clicking and selecting locale network share, the folder is no longer marked as shared, and
- second, I can not access the shared folder from other computers called out under the share in the smb.conf file as seen below:
(I believe this to be caused by some other reason as posted in my other questions listed below)
Here is the updated share in my smb.conf as set by the Samba GUI:
[Shared]
path = /home/craig/Desktop/Shared
writeable = yes
valid users = craig-pc, craig, marcy
Not being able to access the shared folder is the problem which prompted me to ask in what file is the information stored to begin with. I have described this problem in much greater detail in the following other questions I have asked on this forum:
1 Can not access Ubuntu shared folders from windows computer
3 Not showing up on network after running system-config-samba
4 Can not access Ubuntu shared folders from windows computer