|
26.
|
|
|
Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
|
|
|
|
Per la nuova directory da condividere, creare una nuova sezione verso la fine del file oppure togliere il commento a uno degli esempi:
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:135(para)
|
|
27.
|
|
|
[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
[share]
comment = Condivisione file Ubuntu
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:139(programlisting)
|
|
28.
|
|
|
<emphasis>comment:</emphasis> a short description of the share. Adjust to fit your needs.
|
|
|
|
<emphasis>comment</emphasis>: una breve descrizione della condivisione. Modificarla in base alle proprie esigenze.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:151(para)
|
|
29.
|
|
|
<emphasis>path:</emphasis> the path to the directory to share.
|
|
|
|
<emphasis>path</emphasis>: il percorso alla directory da condividere.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:156(para)
|
|
30.
|
|
|
This example uses <filename>/srv/samba/sharename</filename> because, according to the <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis>, <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> is where site-specific data should be served. Technically Samba shares can be placed anywhere on the filesystem as long as the permissions are correct, but adhering to standards is recommended.
|
|
|
|
Questo esempio utilizza <filename>/srv/samba/sharename</filename> poiché, in base alla <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis>, <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> è la posizione in cui dovrebbero essere tenuti i file relativi ai siti. Tecnicamente, le condivisione Samba possono essere posizionate ovunque all'interno del file system, basta che i permessi siano impostati correttamente. In ogni caso, è raccomandato aderire agli standard.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:159(para)
|
|
31.
|
|
|
<emphasis>browsable:</emphasis> enables Windows clients to browse the shared directory using <application>Windows Explorer</application>.
|
|
|
|
<emphasis>browsable</emphasis>: abilita i client Windows a esplorare la directory condivisa usando <application>Windows Explorer</application>.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:168(para)
|
|
32.
|
|
|
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
|
|
|
|
<emphasis>guest ok</emphasis>: consente ai client di connettersi alla condivisione senza dover fornire una password.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:174(para)
|
|
33.
|
|
|
<emphasis>read only:</emphasis> determines if the share is read only or if write privileges are granted. Write privileges are allowed only when the value is <emphasis>no</emphasis>, as is seen in this example. If the value is <emphasis>yes</emphasis>, then access to the share is read only.
|
|
|
|
<emphasis>sola lettura:</emphasis> determina se la condivisione è di sola lettura o se sono garantiti anche i privilegi di scrittura. I privilegi di scrittura sono consentiti solo quando il valore è <emphasis>no</emphasis>, come mostrato nell'esempio. Se il valore è <emphasis>si</emphasis>, allora l'accesso alla condivisione è in sola lettura.
|
|
Translated by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:179(para)
|
|
34.
|
|
|
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
|
|
|
|
<emphasis>create mask</emphasis>: determina i permessi dei nuovi file creati.
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:184(para)
|
|
35.
|
|
|
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
|
|
|
|
Ora che <application>Samba</application> è configurato, è necessario creare la directory e modificarne i permessi. Da un terminale digitare:
|
|
Translated and reviewed by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/windows-networking.xml:193(para)
|