|
29.
|
|
|
<emphasis>path:</emphasis> the path to the directory to share.
|
|
|
|
<emphasis>path:</emphasis> a ruta ao cartafol que se vai compartir.
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
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.
|
|
|
|
Este exemplo emprega <filename>/srv/samba/sharename</filename> xa que, conforme co estándar de xerarquía do sistema de ficheiros <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis>, <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> é onde deben ir os datos servidos polo equipo en sí. Tecnicamente, os cartafoles compartidos de Samba pódense colocar en calquera parte do sistema de ficheiros sempre que os permisos sexan correctos, mais é recomendábel axustarse aos estándares.
|
|
Translated and reviewed by
Miguel Anxo Bouzada
|
|
|
|
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> permítelle aos clientes Windows examinar o cartafol compartido empregando o <application>Explorador de Windows</application>.
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
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> permítelle aos clientes conectarse sen introducir un contrasinal.
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:174(para)
|
|
33.
|
|
|
<emphasis>read only:</emphasis> gives write access to the shared directory.
|
|
|
|
(no translation yet)
|
|
|
|
34.
|
|
|
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
|
|
|
|
<emphasis>crear máscara:</emphasis> determina os permisos que teñen os ficheiros novos cando se crean.
|
|
Translated and reviewed by
Xosé
|
|
|
|
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:
|
|
|
|
Unha vez configurado <application>Samba</application>, hai que crear o directorio e cambiar os permisos. Nun terminal, escriba:
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:193(para)
|
|
36.
|
|
|
sudo mkdir -p /srv/samba/share
|
|
|
|
sudo mkdir -p /srv/samba/share
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:199(command)
|
|
37.
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:200(command)
|
|
38.
|
|
|
The <emphasis>-p</emphasis> switch tells mkdir to create the entire directory tree if it doesn't exist. Change the share name to fit your environment.
|
|
|
|
A opción <emphasis>-p</emphasis> indícalle a mkdir que cree a árbore completa ata o directorio se non existira. Cambie o nome «share» por outro que se axuste máis ao seu entorno (p.ex. «compartida»).
|
|
Translated and reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:204(para)
|