Sharing a folder Mint Mate 19

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
sersha
Level 1
Level 1
Posts: 1
Joined: Fri Jul 13, 2018 5:37 am

Sharing a folder Mint Mate 19

Post by sersha » Fri Jul 13, 2018 5:55 am

After the installation of Linux Mint Mate 19, sharing is not enabled by default.
Solution:
# # if samba not installed, then:
sudo apt install samba

# # after that
sudo apt install caja-share

# # caja-share is for Mint Mate, use appropriate versions for other env
# # now folder /var/lib/samba/usershares is absent, create it

sudo mkdir /var/lib/samba/usershares
sudo chgrp sambashare /var/lib/samba/usershares
sudo chmod 1770 /var/lib/samba/usershares

# # reboot, then right-click on a folder, select Sharing Options etc. Done!

User avatar
catweazel
Level 16
Level 16
Posts: 6284
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Sharing a folder Mint Mate 19

Post by catweazel » Fri Jul 13, 2018 7:15 pm

sersha wrote:
Fri Jul 13, 2018 5:55 am
sudo mkdir /var/lib/samba/usershares
Why on earth would you put a share inside /var/lib?

Good grief.
There are no silly questions, but there are silly answers.

altair4
Level 19
Level 19
Posts: 9152
Joined: Tue Feb 03, 2009 10:27 am

Re: Sharing a folder Mint Mate 19

Post by altair4 » Sat Jul 14, 2018 7:08 am

/var/lib/samba/usershares is where samba places share definitions when the share is created though file manager which caja-share in MATE facilitates.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Post Reply

Return to “Tutorials”