LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mint automatically sharing mounted media (https://www.linuxquestions.org/questions/linux-newbie-8/mint-automatically-sharing-mounted-media-4175529927/)

runningconfig 01-03-2015 01:00 PM

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

sudowtf 01-06-2015 07:46 AM

read through /etc/samba/smb.conf , you may find something (or several things) there.

Miati 01-06-2015 11:19 AM

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.

runningconfig 01-06-2015 12:41 PM

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.

sudowtf 01-07-2015 11:31 AM

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



All times are GMT -5. The time now is 02:19 AM.