|
1483.
|
|
|
[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 = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:136(programlisting)
|
|
1484.
|
|
|
<emphasis>comment:</emphasis> a short description of the share. Adjust to fit your needs.
|
|
|
|
<emphasis>comment:</emphasis> en kort kommentar som forklarer delingen. Tilpass etter behov.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:148(para)
|
|
1485.
|
|
|
<emphasis>path:</emphasis> the path to the directory to share.
|
|
|
|
<emphasis>path:</emphasis> banen til mappen som skal deles.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:153(para)
|
|
1486.
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:156(para)
|
|
1487.
|
|
|
<emphasis>browsable:</emphasis> enables Windows clients to browse the shared directory using <application>Windows Explorer</application>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:165(para)
|
|
1488.
|
|
|
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:171(para)
|
|
1489.
|
|
|
<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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:176(para)
|
|
1490.
|
|
|
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:181(para)
|
|
1491.
|
|
|
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
|
|
|
|
Nå når <application>Samba</application> er konfigurert, må mappen bli opprettet og tillatelsene endret. Skriv inn følgende i et terminalvindu:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:190(para)
|
|
1492.
|
|
|
sudo mkdir -p /srv/samba/share
|
|
|
|
sudo mkdir -p /srv/samba/share
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:196(command)
|