<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
I can successfully mount a shared folder on Windows from my fedora core 3 using LinNeighbourhood.  What would be the line to add to fstab in order to share it automatically?<BR>
<BR>
Regards<BR>
Özgür<BR>
On Wed, 2005-04-20 at 17:23 +0900, Mark Sargent wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Richard Crawford wrote:</FONT>

<FONT COLOR="#000000">>On Wednesday 20 April 2005 00:20, Kevin wrote:</FONT>
<FONT COLOR="#000000">>  </FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>>I am so sick of these stupid bloody ownership rules!</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>All I want to do is share a FAT32 drive over the local</FONT>
<FONT COLOR="#000000">>>network and allow anyone to read/write it!</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>I don't care or want to know about GIDs and UIDs or</FONT>
<FONT COLOR="#000000">>>any IDs, just put the thing out there for everyone.</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>Man this is annoying.  And I don't have time to read</FONT>
<FONT COLOR="#000000">>>through pages of stupid blood man pages either!</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>HELP!</FONT>
<FONT COLOR="#000000">>>    </FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>The price one pays for security and stability, though, is complexity.  You </FONT>
<FONT COLOR="#000000">>can't get away from it.  And man pages are your friends.  And so is </FONT>
<FONT COLOR="#000000">><A HREF="http://www.samba.org">http://www.samba.org</A>.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>In my own setup, I have a directory full of music that both my wife and I have </FONT>
<FONT COLOR="#000000">>full access to.  The section in smb.conf looks like this:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>[our_music]</FONT>
<FONT COLOR="#000000">>path = /path/to/music</FONT>
<FONT COLOR="#000000">>force group = crawford</FONT>
<FONT COLOR="#000000">>read only = No</FONT>
<FONT COLOR="#000000">>create mask = 0777</FONT>
<FONT COLOR="#000000">>directory mask = 0777</FONT>
<FONT COLOR="#000000">>guest ok = Yes</FONT>
<FONT COLOR="#000000">>browseable = Yes</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>Mapping to this drive in Windows is a piece of cake.  Mounting it in Linux is </FONT>
<FONT COLOR="#000000">>a bit more complicated.  I have this line in my /etc/fstab file on my FC3 </FONT>
<FONT COLOR="#000000">>laptop:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>//hagrid/path/to/music /home/richard/Music  smbfs  </FONT>
<FONT COLOR="#000000">>uid=500,gid=504,fmask=777,password="xxxxxxxx" 0 0</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>uid in this line is the uid of my account on Hagrid, and gid is the gid of the </FONT>
<FONT COLOR="#000000">>group "crawford".  These values can be found by examining /etc/passwd </FONT>
<FONT COLOR="#000000">>and /etc/group on the host computer.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>Of course, that's all assuming that the FAT32 filesystem you're trying to </FONT>
<FONT COLOR="#000000">>share lives on a Linux box.  If it lives on a Windows computer, then I have </FONT>
<FONT COLOR="#000000">>no idea.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>  </FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">Hi All,</FONT>

<FONT COLOR="#000000">Kev, I've been where you are now. best advice I can give, is, 1. man's </FONT>
<FONT COLOR="#000000">can sometimes be , well, too techy for a newb. Search for some tutorials </FONT>
<FONT COLOR="#000000">instead. 2ndly, mate, sometimes, it's best to just walk away for a few </FONT>
<FONT COLOR="#000000">hours/dys/weeks even, till you feel refreshed enuff to get stressed </FONT>
<FONT COLOR="#000000">again..hehe..seriously, though, it's good advice, even if I say so </FONT>
<FONT COLOR="#000000">myself. Also, there are great people in here who will help you. Good </FONT>
<FONT COLOR="#000000">luck. Cheers.</FONT>

<FONT COLOR="#000000">Mark Sargent.</FONT>

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>