|
82.
|
|
|
File permissions define the explicit rights a computer or user has to a particular directory, file, or set of files. Such permissions may be defined by editing the <filename>/etc/samba/smb.conf</filename> file and specifying the explicit permissions of a defined file share.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:499(para)
|
|
83.
|
|
|
For example, for a defined <application>Samba</application> share called <emphasis>share</emphasis> and the need to give <emphasis role="italic">read-only</emphasis> permissions to the group of users known as <emphasis role="italic">qa</emphasis>, while allowing write permissions to the share by the group called <emphasis role="italic">sysadmin</emphasis> and the user named <emphasis role="italic">vincent</emphasis>, then the <filename>/etc/samba/smb.conf</filename> file could be edited to add the following entries under the <emphasis>[share]</emphasis> entry:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:506(para)
|
|
84.
|
|
|
read list = @qa
write list = @sysadmin, vincent
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
read list = @qa
write list = @sysadmin, vincent
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:517(programlisting)
|
|
85.
|
|
|
Another possible <application>Samba</application> permission is to declare <emphasis>administrative</emphasis> permissions to a particular shared resource. Users having administrative permissions may read, write, or modify any information contained in the resource where they have been given explicit administrative permissions.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:522(para)
|
|
86.
|
|
|
For example, to give the user <emphasis role="italic">melissa</emphasis> administrative permissions to the <emphasis role="italic">share</emphasis> example, the <filename>/etc/samba/smb.conf</filename> file would be edited to add the following line under the <emphasis>[share]</emphasis> entry:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:530(para)
|
|
87.
|
|
|
admin users = melissa
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
admin users = melissa
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:537(programlisting)
|
|
88.
|
|
|
After editing <filename>/etc/samba/smb.conf</filename>, restart <application>Samba</application> for the changes to take effect:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:541(para)
|
|
89.
|
|
|
For the <emphasis>read list</emphasis> and <emphasis>write list</emphasis> to work, the <application>Samba</application> security mode must <emphasis>not</emphasis> be set to <emphasis role="italic">security = share</emphasis>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:551(para)
|
|
90.
|
|
|
Now that <application>Samba</application> has been configured to limit which groups have access to the shared directory, the filesystem permissions need to be updated.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:559(para)
|
|
91.
|
|
|
Traditional <trademark>Linux</trademark> file permissions do not map well to <trademark class="registered">Windows NT Access Control Lists</trademark> (<acronym>ACL</acronym>s). Fortunately <trademark>POSIX</trademark><acronym>ACL</acronym>s are available on <phrase>Kubuntu</phrase> servers providing more fine-grained control. For example, to enable <acronym>ACL</acronym>s on <filename>/srv</filename> an <trademark>EXT3</trademark> filesystem, edit <filename>/etc/fstab</filename> adding the <emphasis>acl</emphasis> option:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:565(para)
|