|
37.
|
|
|
<emphasis>path:</emphasis> the path to the directory to share.
|
|
|
|
<emphasis>path:</emphasis> polku jaettavaan kansioon.
|
|
Translated and reviewed by
Timo Jyrinki
|
|
|
|
Located in
docs/sharing/C/sharing.xml:160(para)
|
|
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, <application>Samba</application> 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
docs/sharing/C/sharing.xml:194(para)
|
|
39.
|
|
|
<emphasis>browsable:</emphasis> enables <trademark class="registered">Windows</trademark> clients to browse the shared directory using <application>Windows Explorer</application>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:206(para)
|
|
40.
|
|
|
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:180(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.
|
|
|
|
(no translation yet)
|
|
|
|
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> määrittelee uusien luotujen tiedostojen oikeudet.
|
|
Translated and reviewed by
Timo Jyrinki
|
|
|
|
Located in
docs/sharing/C/sharing.xml:195(para)
|
|
43.
|
|
|
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal, enter:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:203(para)
|
|
44.
|
|
|
sudo mkdir -p /srv/samba/share
|
|
|
|
sudo mkdir -p /srv/samba/share
|
|
Translated and reviewed by
Timo Jyrinki
|
|
|
|
Located in
docs/sharing/C/sharing.xml:208(command)
|
|
45.
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
Translated and reviewed by
Timo Jyrinki
|
|
|
|
Located in
docs/sharing/C/sharing.xml:209(command)
|
|
46.
|
|
|
The <emphasis>-p</emphasis> switch tells <command>mkdir</command> to create the entire directory tree if it doesn't exist. Change the share name to fit the environment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:212(para)
|