|
38.
|
|
|
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.
|
|
|
|
Dieses Beispiel nutzt <filename>/srv/samba/sharename</filename>, da gemäß dem <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis> <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> der Ort ist, an dem Daten von Netzwerkdiensten gespeichert werden sollten. Technisch gesehen können Samba-Freigaben überall im Dateisystem liegen, solange die Berechtigungen stimmen, allerdings wird empfohlen, sich an die Standards zu halten.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:180(para)
|
|
39.
|
|
|
<emphasis>browsable:</emphasis> enables Windows clients to browse the shared directory using <application>Windows Explorer</application>.
|
|
|
|
<emphasis>browsable:</emphasis> ermöglicht Windows-Rechnern das Durchsuchen des freigegebenen Ordners mit dem <application>Windows-Explorer</application>.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:191(para)
|
|
40.
|
|
|
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
|
|
|
|
<emphasis>guest ok:</emphasis> gestattet Rechnern den Zugriff auf die Freigabe ohne die Angabe eines Passwortes
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/sharing/C/sharing.xml:213(para)
|
|
41.
|
|
|
<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>read only:</emphasis> legt fest, ob in der Freigabe nur Leserechte bestehen oder auch Schreibrechte gewährt werden. Schreibrechte werden gewährt, wenn der Wert wie im Beispiel <emphasis>no</emphasis> ist. Wenn der Wert als <emphasis>yes</emphasis> gesetzt ist, bestehen in der Freigabe nur Leserechte.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/sharing/C/sharing.xml:219(para)
|
|
42.
|
|
|
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
|
|
|
|
<emphasis>create mask:</emphasis> legt die Zugriffsrechte für neu angelegte Dateien fest.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/sharing/C/sharing.xml:227(para)
|
|
43.
|
|
|
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
|
|
|
|
Jetzt, da die Konfiguration von <application>Samba</application> abgeschlossen ist, müssen der Ordner erstellt und die Zugriffsrechte angepasst werden. Geben Sie dazu in einem Terminal ein:
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:218(para)
|
|
44.
|
|
|
sudo mkdir -p /srv/samba/share
|
|
|
|
sudo mkdir -p /srv/samba/share
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/sharing/C/sharing.xml:243(command)
|
|
45.
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/sharing/C/sharing.xml:244(command)
|
|
46.
|
|
|
The <emphasis>-p</emphasis> switch tells mkdir to create the entire directory tree if it doesn't exist. Change the share name to fit the environment.
|
|
|
|
Die Option <emphasis>-p</emphasis> sorgt dafür, dass der gesamte Verzeichnisbaum erstellt wird, wenn er nicht existiert. Ändern Sie den Freigabenamen Ihrer Umgebung entsprechend.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:229(para)
|
|
47.
|
|
|
Finally, restart the <application>samba</application> services to enable the new configuration:
|
|
|
|
Zum Schluss, starten Sie den <application>samba</application>-Dienst erneut, damit die neue Konfiguration übernommen wird:
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/sharing/C/sharing.xml:258(para)
|