|
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)
|
|
92.
|
|
|
UUID=66bcdd2e-8861-4fb0-b7e4-e61c569fe17d /srv ext3 noatime,relatime,acl 0
1
|
|
|
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.
|
|
|
|
UUID=66bcdd2e-8861-4fb0-b7e4-e61c569fe17d /srv ext3 noatime,relatime,acl 0
1
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:575(programlisting)
|
|
93.
|
|
|
Then remount the partition:
|
|
|
|
Puèi remontatz la particion[nbsp] :
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:580(para)
|
|
94.
|
|
|
sudo mount -v -o remount /srv
|
|
|
|
sudo mount -v -o remount /srv
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:585(command)
|
|
95.
|
|
|
The above example assumes <filename>/srv</filename> is on a separate partition. If <filename>/srv</filename>— or wherever the share path is configured — is part of the <filename>/</filename> partition, a reboot may be required.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:589(para)
|
|
96.
|
|
|
To match the <application>Samba</application> configuration above, the <emphasis>sysadmin</emphasis> group will be given read, write, and execute permissions to <filename>/srv/samba/share</filename>, the <emphasis>qa</emphasis> group will be given read and execute permissions, and the files will be owned by the username <emphasis>melissa</emphasis>. Enter the following in a terminal:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:597(para)
|
|
97.
|
|
|
sudo chown -R melissa /srv/samba/share/
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:607(command)
|
|
98.
|
|
|
sudo chgrp -R sysadmin /srv/samba/share/
|
|
|
|
sudo chgrp -R sysadmin /srv/samba/share/
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:608(command)
|
|
99.
|
|
|
sudo setfacl -R -m g:qa:rx /srv/samba/share/
|
|
|
|
sudo setfacl -R -m g:qa:rx /srv/samba/share/
|
|
Translated and reviewed by
Cédric VALMARY (Tot en òc)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:609(command)
|