Want to share files in Linux Mint? The process is rather simple. If basic sharing is what you’re after in Linux Mint, share your files and setup folders shares in just a couple of minutes.

Create a share folder, for example: “share” under your home directory and assign permissions for others to be able to read or read and write to this new share:

mkdir /home/$USER/share

Next, browse to the new created folder, right click on it and select “Sharing Options” from the context menu. Enable the “Share this folder“, “Allow others to create and delete files in this folder” and “Guest access (for people without a user account)” options.

sharing-options

Finally, verify that others have permissions to this share to create and delete files in this folder. To do so, right click the shared folder and select Properties from the context menu. Browse to the the Permissions tab, make sure permissions for Others have been assigned and “Apply Permissions to Enclosed files”.

share-properties-permissions

From another computer, browse to your mint share, enter the username and password of your share (Linux Mint username and password) when prompted to do so to have access to your share.

Note: You may not be prompted for username and password if the user account credentials in the computer you’re connecting from matches the user’s credentials of the samba share in the remote server.

access-share-from-linuxmint

access-share-from-windows

But wait! …this is not what we were expecting! We were planning on sharing files with Guests (people without a user account) and the screenshot above shows such option grayed out??! What’s wrong?

This seems to be a common mis-configuration when sharing files via caja-share (MATE) or nemo-share (Cinnamon) while also configuring additional samba shares in Linux Mint, manually.

The catch; there is a difference between UserShares and ClassicShares:

UserShares: Are shares created from the file manager such as caja or nemo.
ClassicShares: Are shares created by adding definitions to smb.conf either directly or using an application.

UserShares (samba shares configuration) are stored under /var/lib/samba/usershares/ in Linux Mint, while ClassicShares are usually kept under /etc/samba/ by default.

Hence, if you want to keep the “Guest access (for people without a user account)” option available for UserShares don’t forget to include “usershare allow guests = yes” in /etc/samba/smb.conf global configuration.

smb-global-configuration

Let’s check our share options after including “usershare allow guests = yes” in /etc/samba/smb.conf:

folder-sharing-guest-access

Great, guest access (for people without a user account) is not longer grayed out! Guests will now be able to access this UserShare without a username and password!

Related Post

Samba share in Linux Mint 17.x Linux Mint UserShares are undoubtedly simple to create, but how about ClassicShares (samba shares)? There is a small difference between these two a...