Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-03-2015, 02:00 PM   #1
LQ Newbie
Registered: Dec 2014
Distribution: Mint
Posts: 6

Rep: Reputation: Disabled
Mint automatically sharing mounted media

Hey everyone,

I just started using Mint 17.1 so bare with me.

I was setting up a share to a Windows based file server and installed cifs-utils, made a password files, edited fstab and everything worked fine.

But now notice that from the Windows box my Mint machine is sharing out all my mounted media as read only (mounted shares, thumb drive and external hdd). I went through all the folders are verified nothing is shared out via the GUI. I'm not sure if there's some Samba share setup after installing cifs-utils? I'm not really sure what else to verify the possibility of a share being setup.

Old 01-06-2015, 08:46 AM   #2
Registered: Nov 2013
Posts: 191

Rep: Reputation: 45
read through /etc/samba/smb.conf , you may find something (or several things) there.
Old 01-06-2015, 12:19 PM   #3
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
In Mint 17* mounted media is located in /media/$USER/

Check to see in /etc/samba/smb.conf if /media is one of the directories being shared.
Old 01-06-2015, 01:41 PM   #4
LQ Newbie
Registered: Dec 2014
Distribution: Mint
Posts: 6

Original Poster
Rep: Reputation: Disabled
thanks for the suggestion

I just went though the smb.conf and didn't find anything. Just a couple entries for local printers.

I've only checked one workstation - I'll try another one tonight when I get home and see if they all have access to mounted devices.

Last edited by runningconfig; 01-06-2015 at 01:44 PM.
Old 01-07-2015, 12:31 PM   #5
Registered: Nov 2013
Posts: 191

Rep: Reputation: 45
not that this will be very helpful, but i recall years back one of my ubuntu's had some alternate sharing gui which did not seem to relate to smb.conf also.

my debian box ; however, only shares what i have in my smb.conf -- entries from mine if it helps:
   server role = standalone server
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
   valid users = %S
   comment = Home Directories
   browseable = no
   read only = yes
   create mask = 0700
   directory mask = 0700
path = /home/myusername
valid users = myusername
available = yes
browsable = yes
public = no
writable = yes
guest ok = no
locking = yes


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
he usb is not automatically mounted, abd_bela Debian 2 02-25-2009 02:41 AM
Mounted disk turns read-only automatically EtherGhost Linux - General 1 10-10-2006 09:12 AM
How to write to automatically mounted removable media royeo Linux - Newbie 3 09-19-2006 06:34 PM
is it possible to automatically execute a command when cd is mounted? LiquidSlumber Linux - Software 1 03-26-2006 02:18 AM
getting my devs to be mounted automatically matttail Debian 1 11-06-2005 03:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration