LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-03-2015, 01:00 PM   #1
runningconfig
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.

Thanks
 
Old 01-06-2015, 07:46 AM   #2
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

Rep: Reputation: 45
read through /etc/samba/smb.conf , you may find something (or several things) there.
 
Old 01-06-2015, 11:19 AM   #3
Miati
Member
 
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, 12:41 PM   #4
runningconfig
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 12:44 PM.
 
Old 01-07-2015, 11:31 AM   #5
sudowtf
Member
 
Registered: Nov 2013
Posts: 187

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:
Code:
#[...stuff...]
   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
#[...stuff...]
[homes]
   comment = Home Directories
   browseable = no
   read only = yes
   create mask = 0700
   directory mask = 0700
#[...stuff...]
[myusername]
path = /home/myusername
valid users = myusername
available = yes
browsable = yes
public = no
writable = yes
guest ok = no
locking = yes
 
  


Reply


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 01:41 AM
Mounted disk turns read-only automatically EtherGhost Linux - General 1 10-10-2006 08:12 AM
How to write to automatically mounted removable media royeo Linux - Newbie 3 09-19-2006 05:34 PM
is it possible to automatically execute a command when cd is mounted? LiquidSlumber Linux - Software 1 03-26-2006 01:18 AM
getting my devs to be mounted automatically matttail Debian 1 11-06-2005 02:43 AM


All times are GMT -5. The time now is 11:41 AM.

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