File Sharing in Linux Mint 17.x

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.


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”.


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.



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.


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


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...

9 thoughts on “File Sharing in Linux Mint 17.x

  1. Not working. Although guest access is marked I still cannot change folder access for group nor others in properties. Only one user has access from other computers (linux or windows). Is there an easy way to solve this?

    • dOrcesco, few tips:

      – Make sure you are creating the (UserShare) share within your home folder.
      – If the Usershare being created is outside your home folder, chown the shared folder accordingly… ‘ $ chown -R dOrcesco:dOrcesco share’ and recreate the share once again.

  2. Pity. Working with shares outside home folder. I am using an external hard disc. Did the chown command but get the reply that the folder not existed. Made a new share, I can see it on the network from another Linux PC, but can’t access it. So even no prompt for username and password anymore. :-(
    Server PC runs Linux Mint 17.3 Mate 32bit. Other PC’s: Linux Mint 17.3 Cinnamon 64bit; Win XP laptop; Win 10 laptop. Printershare works fine.

    • Not sure why it doesn’t let you do it out of the box (default configuration) but you’re getting closer. Check the following 2 things:

      1- Worth checking your samba configuration:

      sudo pluma /etc/samba/smb.conf

      In that file, see if the options “usershare owner only = false” and “usershare allow guests = yes” exist. If they don’t exist then add them.

      Finally restart samba:

      sudo service samba restart

      2- When creating the share, after assigning the permissions for others to ‘Create and delete files’ (see screenshot 2 in this post) make sure you’re also clicking the button that says ‘Modify share’ (see screenshot 1 in this post)

      • Did step 1. Step 2: assigning the permissions for others to ‘Create and delete files’ is not possible. It blinks back to: ‘none’
        On the client computer I get the “No mounting possible. Access denied” signal. Using Gigolo it is possible to force access with the admin account. Is it a security issue?

    • You are right. Samba server is up and running. Using Samba-share works as long as I use the admin username and password on the client PC.I will create ClassicShares to get all the other users up and running. For now at least one (Linux) client works with the shared harddisc. I’ll keep you informed. Thanks for your help.

    • It is a fresh Linux Mint 17.3 Mate installation. Single boot. Using Samba as the tool to manage the shares on the file/NAS server. Gigolo is running on the server to access files on other computers. For now I go to have a drink. (Living 6 hours later than you there ;-))

Leave a Reply