| Line | |
|---|
| 1 | <samba:parameter name="usershare path"
|
|---|
| 2 | context="G"
|
|---|
| 3 | basic="1" advanced="1"
|
|---|
| 4 | type="string"
|
|---|
| 5 | xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|---|
| 6 | <description>
|
|---|
| 7 | <para>This parameter specifies the absolute path of the directory on the
|
|---|
| 8 | filesystem used to store the user defined share definition files.
|
|---|
| 9 | This directory must be owned by root, and have no access for
|
|---|
| 10 | other, and be writable only by the group owner. In addition the
|
|---|
| 11 | "sticky" bit must also be set, restricting rename and delete to
|
|---|
| 12 | owners of a file (in the same way the /tmp directory is usually configured).
|
|---|
| 13 | Members of the group owner of this directory are the users allowed to create
|
|---|
| 14 | usershares. If this parameter is undefined then no user defined
|
|---|
| 15 | shares are allowed.
|
|---|
| 16 | </para>
|
|---|
| 17 | <para>
|
|---|
| 18 | For example, a valid usershare directory might be /usr/local/samba/lib/usershares,
|
|---|
| 19 | set up as follows.
|
|---|
| 20 | </para>
|
|---|
| 21 | <para>
|
|---|
| 22 | <programlisting>
|
|---|
| 23 | ls -ld /usr/local/samba/lib/usershares/
|
|---|
| 24 | drwxrwx--T 2 root power_users 4096 2006-05-05 12:27 /usr/local/samba/lib/usershares/
|
|---|
| 25 | </programlisting>
|
|---|
| 26 | </para>
|
|---|
| 27 | <para>
|
|---|
| 28 | In this case, only members of the group "power_users" can create user defined shares.
|
|---|
| 29 | </para>
|
|---|
| 30 |
|
|---|
| 31 | </description>
|
|---|
| 32 | <value type="default">NULL</value>
|
|---|
| 33 | </samba:parameter>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.