<html> <head>  <LINK TYPE="text/css" HREF="style.css" REL="STYLESHEET">  <title>Goupil</title> </head>  <body background="img/fond.png" bgcolor="#ffffff" marginheight=0 marginwidth=0 topmargin=0 leftmargin=0> <!-- body bgcolor="#c1af9b" marginheight=0 marginwidth=0 topmargin=0 leftmargin=0--> 	<table bgcolor="#B0B0C5" border="0" width="100%" cellspacing="0" cellpadding="0"> 		<tr> 			<td align="left"> 				&nbsp;&nbsp;&nbsp; 				<a href="http://unixlibres.net"><font color="#ffffff" face="Arial" size="+0"><b>U n i x L i b r e s . N e t</b></font></a> 			</td> 			<td align="right"> &nbsp;<a href="http://unixlibres.net/?goto=tuxfinder"><font color="#0f0f0f" face="Arial" size="+0">Tux Finder</font></a> &nbsp;<a href="http://unixlibres.net/?goto=tootella"><font color="#0f0f0f" face="Arial" size="+0">Tootella</font></a> &nbsp;<a href="http://unixlibres.net/?goto=bsdfr"><font color="#0f0f0f" face="Arial" size="+0">BSDFR</font></a> &nbsp;<a href="http://unixlibres.net/?goto=gcu"><font color="#0f0f0f" face="Arial" size="+0">Gcu-Squad</font></a> &nbsp;<a href="http://unixlibres.net/?goto=goupil"><font color="#0f0f0f" face="Arial" size="+0">GoUPiL</font></a> &nbsp;<a href="http://unixlibres.net/?goto=nerdznews"><font color="#0f0f0f" face="Arial" size="+0">NerdsNews</font></a> &nbsp;<a href="http://unixlibres.net/?goto=samedis"><font color="#0f0f0f" face="Arial" size="+0">Les Samedis du Libre</font></a> &nbsp;<a href="http://unixlibres.net/?site"><font color="#0f0f0f" face="Arial" size="+0"><small>suite</small></font></a>&nbsp; 			</td> 		</tr> 	</table> 	<table bgcolor="#B0B0C5" border="0" width="100%" cellspacing="0" cellpadding="0"> 		<tr> 			<td bgcolor="#444444" height="1"><img src="http://unixlibres.net/gfx/1x1.gif" alt="" width="1"height="1"></td> 		</tr> 	</table><FONT face="Helvetica,Verdana,Arial"> <a name="top"></a>  <center> <table>  <tr>   <td>     <img src="img/goupil_txt.gif">   </td> </tr> <tr>   <td><font size=5 face="Verdana, Arial, Helvetica"><b>Goupil Oeuvre pour Une Promotion de l'Informatique Libre</b></font></td>  </tr> </table>  <br> </center> <center> <br>  <table border="0" cellpadding="0" cellspacing="0"><tr> <td width="760" height="17" colspan="6" nowrap bgcolor="#000000">     <table width="760" border="0" cellspacing="0" cellpadding="0" height="17">     <tr>         <td bgcolor="#000000">             <table width="760" border="0" cellspacing="1" cellpadding="0" height="15">             <tr>                 <td class="menu" align="center" width="105" bgcolor="#444444"><a href="?accueil"><font color=#FFFFFF size=2><b>accueil</b></font></a></td>                 <td class="menu" align="center" width="105" bgcolor="#444444"><a href="?groupe"><font color=#FFFFFF size=2><b>le groupe</b></font></a></td>                 <td class="menu" align="center" width="105" bgcolor="#AFAFC0"><font color=#FFFFFF size=2><b>stuff</b></font></td> 		    <td class="menu" align="center" width="105" bgcolor="#444444"><a href="?bookmarks"><font color=#FFFFFF size=2><b>bookmarks</b></font></a></td>                 <td class="menu" align="center" width="105" bgcolor="#444444"><a href="?stats"><font color=#FFFFFF size=2><b>stats</b></font></a></td>             </tr>             </table>         </td>     </tr>     </table> </td> </tr></table> </center>  <br><br>   <br><br>   <table width="95%" cellpadding="2" cellspacing="0" border="0"> <tr>  <td align="center" valign="top" width="25%">       <table width="176" border="0" cellspacing="0" cellpadding="0" height="55"> <tr>    <td bgcolor="#000000" valign="middle">       <table width="176" border="0" cellspacing="1" cellpadding="0" height="53">       <tr height="17">          <td class="menu" align=center bgcolor="#444444" height="17">             <font color=#FFFFFF size=2><b>mailing list</b></font>          </td>       </tr>       <tr>          <td class="menu" align=center bgcolor="#AFAFC0">             <font color=#000000 size=2>                Obtenir des <a href="http://www.goupilfr.org/mailman/listinfo/goupil_ml">infos sur la mailing list</a>                <p>                Consulter&nbsp;les 	       <a href="http://www.goupilfr.org/pipermail/goupil_ml/">archives</a>                <!--a href="http://unixlibres.net/?forum-liste">archives</a>                <!--a href="http://www.somelist.com/mail.php/368">archives</a-->                <BR></font>          </td>       </tr>       </table>    </td> </tr> </table> <br>   <table width="176" border="0" cellspacing="0" cellpadding="0" height="55"> <tr>    <td bgcolor="#000000" valign="middle">       <table width="176" border="0" cellspacing="1" cellpadding="0" height="53">       <tr height="17">          <td class="menu" align=center bgcolor="#444444" height="17">             <font color=#FFFFFF size=2><b>Copains</b></font>          </td>       </tr>       <tr>          <td class="menu" align=center bgcolor="#AFAFC0">             <font color=#000000 size=2>                <a href="http://unixlibres.net/">Unix Libres Network</a><br>                <a href="http://gcu-squad.org/">GCU</a><br>                <a href="http://linux-fr.org/">Linux-fr.org</a><br>                <a href="http://samedis.org/">SDL</a><br>                <a href="http://www.squirrelmail-fr.org/">Squirrelmail</a><br>             </font>          </td>       </tr>       </table>    </td> </tr> </table> <br>  <table width="176" border="0" cellspacing="0" cellpadding="0" height="55"> <tr>    <td bgcolor="#000000" valign="middle">       <table width="176" border="0" cellspacing="1" cellpadding="0" height="53">       <tr height="17">          <td class="menu" align=center bgcolor="#444444" height="17">             <font color=#FFFFFF size=2><b>Liens</b></font>          </td>       </tr>       <tr>          <td class="menu" align=center bgcolor="#AFAFC0">             <font color=#000000 size=2>                <a href="http://www.freshmeat.net/">freshmeat</a><br>                <a href="http://www.slashdot.org/">slashdot</a><br>                <a href="http://www.april.org/">april</a><br>                <a href="http://www.freenix.org/">freenix</a><br>                <a href="http://rufus.w3.org/linux/RPM/">rufus repository</a><br>                <a href="http://www.oreillynet.com/">o'reilly network</a><br>                <a href="http://www.freeos.com/">freeos.com</a><br>                <a href="http://www.linux-france.org/">linux-france</a><br>                <a href="http://counter.li.org/">linux counter</a><br>                <a href="http://ikarios.com/">ikarios</a><br>             </font>          </td>       </tr>       </table>    </td> </tr> </table> <br>  <table width="176" border="0" cellspacing="0" cellpadding="0" height="55"> <tr>    <td bgcolor="#000000" valign="middle">       <table width="176" border="0" cellspacing="1" cellpadding="0" height="53">       <tr height="17">          <td class="menu" align=center bgcolor="#444444" height="17">             <font color=#FFFFFF size=2><b>Linux & *BSD</b></font>          </td>       </tr>       <tr>          <td class="menu" align=center bgcolor="#AFAFC0">             <font color=#000000 size=2>                <a href="http://www.debian.org/">debian</a><br>                <a href="http://www.gentoo.org/">gentoo</a><br>                <a href="http://www.slackware.com/">slackware</a><br>                <a href="http://www.fr.redhat.com/">red hat</a><br>                <a href="http://www.linux-mandrake.com/fr/">mandrake</a><br>                <a href="http://www.suse.com/fr/">suse</a><br>                <a href="http://www.caldera.com/">caldera</a><br>                <a href="http://www.linux.org/dist/">davantage...</a><br>                <br>                <a href="http://www.netbsd.org/">NetBSD</a><br>                <a href="http://www.openbsd.org/">OpenBSD</a><br>                <a href="http://www.fr.freebsd.org/">FreeBSD</a><br>             </font>          </td>       </tr>       </table>    </td> </tr> </table> <br>  </td>  <td valign="top">      <H2>Options de mount (vfat)</H2>  le 4/05/1999  <P><HR> <EM>Ce document dcrit quelles sont les options  passer  la commande mount afin de rendre une partition de type vfat accessible en criture pour tout un groupe d'utilisateurs sur une machine.</EM> <HR>   <P>  <H2><U>1. Contexte</U></H2>  Nous allons nous baser sur un exemple prcis : dans tout le reste de ce document, on va supposer que vous souhaitez mounter la partition /dev/hdb1 en /mnt/win et que vous souhaitez rendre cette partition accessible en lecture et criture pour tous les utilisateurs appartenant au groupe de GID 100 (gnralement le groupe 'users').<BR><BR>  D'autre part, il faut tre log en tant que root pour effectuer toutes les manipulations dcrites ici.<BR><BR>  <HR>  <H2><U>2. Description de la manipulation</U></H2>  Il suffit de monter la partition voulue en precisant l'umask afin d'eviter que les autorisations d'acces soient modifiees a chaque montage de la partition en se basant sur la valeur de l'umask du process appelant.  <BLOCKQUOTE><CODE> % umount /mnt/win<BR> % mount -t vfat -o user,umask=007,gid=100 /dev/hdb1 /mnt/win </CODE></BLOCKQUOTE>  <HR> <H2><U>3. Automatiser la chose</U></H2>  Si c'est une partition que vous souhaitez mounter automatiquement  chaque dmarrage, alors il vous faut diter le fichier <CODE>/etc/fstab</CODE> et rechercher (ou crer si elle n'existe pas) la ligne commenant par <CODE>/dev/hdb1</CODE> afin de la modifier pour qu'elle ressemble  a :<BR> <BLOCKQUOTE><CODE> /dev/hdb1 &nbsp;&nbsp;&nbsp; /mnt/win &nbsp;&nbsp;&nbsp; vfat &nbsp;&nbsp;&nbsp; user,umask=007,gid=100 &nbsp;&nbsp;&nbsp; 0 &nbsp;&nbsp;&nbsp; 0 </CODE></BLOCKQUOTE>   </td> </tr> </table>  <br> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr bgcolor="#B0B0C5">  <td width=33% align="left">    <font face="Arial,Helvetica,Lucida,Verdana" size=1>     &nbsp;Merci &agrave;     <a href="http://www.agarik.com/">Agarik</a>     pour l'h&eacute;bergement    </font>  </td>  <td width=34% align="center">    <font face="Arial,Helvetica,Lucida,Verdana" size=1>     &copy; 2001 Goupil    </font>  </td>  <td width=33% align="right">    <font face="Arial,Helvetica,Lucida,Verdana" size=1>    page g&eacute;n&eacute;r&eacute;e le 20/04/2003 &nbsp;    </font>  </td> </tr></table>  </body> </html> 
