How To - Simple File Sharing in Mint

Write tutorials here
There are more tutorials here
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
User avatar
Level 1
Level 1
Posts: 32
Joined: Wed Jul 11, 2012 7:01 am
Location: Center of the Storm

Re: How To - Simple File Sharing in Mint

Postby PcMojo » Wed Oct 31, 2012 4:03 pm

I went through that checklist yesterday, I went ahead and double checked everything but still have the same problem. Part of the sharing problem might be that as soon as I finished the mint share setups I went to the Vista pc and started the process of enabling client print and file sharing. Maybe Ms and Linux are fighting for control of the network! Now I can access Vista's public folder from Mint, but I still can't get past the logon from Vista to Mint. All I wanted was a way to share files between pc's, and I have that now so I'll probably just undo the Mint changes and use the Vista share. Thanks for all of your help!
Mint 17.3 with Cinnamon on a Dell D620 laptop.

You are free the instant you want to be!

User avatar
Level 1
Level 1
Posts: 23
Joined: Sat Sep 01, 2012 1:44 pm

Re: How To - Simple File Sharing in Mint

Postby Cerule » Sun Dec 30, 2012 4:43 am

I found these instructions very helpful. It's about how to mount a remote SSH folder using SSHFS. Simple, fast and efficient. ... d-and-gui/

Level 18
Level 18
Posts: 8011
Joined: Tue Feb 03, 2009 10:27 am

Re: How To - Simple File Sharing in Mint

Postby altair4 » Sun Dec 30, 2012 8:45 am

Cerule wrote:I found these instructions very helpful. It's about how to mount a remote SSH folder using SSHFS. Simple, fast and efficient. ... d-and-gui/

And you would post that comment in a HowTo about Samba because:

** You didn't know this was a HowTo?
** You wanted to make enemies quickly?
** You wanted to increase your post count?

As far as the last one is concerned I can tell you that increasing your post count has no rewards. I was under the impression that after a certain number of posts I was eligible to win one of these:

Sadly, that was not the case.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
Level 3
Level 3
Posts: 164
Joined: Tue Jun 14, 2016 11:46 pm

Re: How To - Simple File Sharing in Mint

Postby ostracized » Sat Oct 22, 2016 10:53 pm

Thanks for the guide. A few suggestions and questions:


1. I recommend start off the guide with instructions on installing Samba before proceeding, considering the sambaless 18 install.
I think I read somewhere that Clem removed Samba in 18 because of the increased startup time. I'd be curious on a "this session only" share guide versus perpetually sharing folders and having to wait on the network to resolve netbios/wins names on every reboot.

2. I would include a section on how to disable printer sharing. Considering the recent IoT hack yesterday I really think it's best practice to disable devices that don't need to belong on the network, even if they're behind the router (because foolish people turn on UPnP and various other dumb things.) I'm seeing this is fairly straightforward but haven't tested this yet as I'm waiting for a gigabit switch for my own testing:

In /etc/samba/smb.conf:

Code: Select all

load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes

Additionally I'm hoping this works because the syslog is being spammed again by the cups scheduler and even more often by colord. It *might* be gufw rules but colord goes absolutely nuts in the syslog when it can't find/connect to a previously-stored embedded color profile for your printer/scanner/monitor/other device.


1. Back on windows I remember having to manually enable jumbo frames on the network adapters of both machines to transfer very large files otherwise the connection would routinely drop. This was not a default setting on most adapters. Do you know anything about this or are we pretty much at the mercy of whatever network driver is available? And yeah I already saw your guide on setting up a temp local http python server.

2. In your troubleshooting guides you often recommend disabling ufw outright. However, I'm more interested in knowing the exact firewall rule for samba to function. In gufw's report, I'm seeing 2 tcp ports for smbd, 2 udp ports for nmdb, and 2 udp ports for avahi-daemon. But, you don't need to worry about any of that if "allow incoming connections" is selected in gufw because these are local devices right? I seem to recall that "file and printer sharing" was always an exception in the default windows firewall so this never needed tweaking...

3. I'd actually prefer none of my other devices to know I'm sharing anything anyway because I'm used to the advanced sharing in windows by manually typing \\[local IP]\[hiddenShare]$ of the sharing box versus browsing the list of "discoverable devices" in the network pane. Honestly I think that's the best way to do it because no one else can see your device on the network and you need to navigate to the exact share name to see it. This guide is still somewhat relevant for that, right? I'm seeing a commented setting in samba.conf saying wins support = no -- think it's a good idea to uncomment that since we're talking about mint to mint sharing?

4. Also dumb question maybe, but on mint 18, it's probably a good idea to install the samba-recommended dependencies on both machines right?

5. Finally do you know off the top of your head if samba connections are indeed encrypted? I had thought this varied from platform to platform but again, I'm more interested in "less visible" network traffic, even if everything's local. If you don't know, w/e maybe I'll spend another weekend on setting up SFTP or file transfers over ssh.

-thanks for reading.

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 3 guests