|
93.
|
|
|
Then remount the partition:
|
|
|
|
Ahora vuelva a montar la partición:
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
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
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:585(command)
|
|
95.
|
|
|
The above example assumes <filename>/srv</filename> 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.
|
|
|
|
El ejemplo anterior supone que <filename>/srv</filename> se encuentra en una partición distinta. Si <filename>/srv</filename> o cualquier otra ruta del recurso compartido que se haya configurado forma parte de la partición <filename>/</filename>, es posible que sea necesario reiniciar el equipo.
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:553(para)
|
|
96.
|
|
|
To match the Samba 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:
|
|
|
|
Para coincidir con configuraciones anteriores de Samba, en el grupo <emphasis>sysadmin</emphasis> se darán permisos de lectura, escritura y ejecución a <filename>/srv/samba/share</filename>, al grupo <emphasis>qa</emphasis> se le darán permisos de lectura y ejecución, y los archivos serán propiedad delusuario <emphasis>melissa</emphasis>. Introduzca lo siguiente en una terminal:
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:560(para)
|
|
97.
|
|
|
sudo chown -R melissa /srv/samba/share/
|
|
|
|
sudo chown -R melissa /srv/samba/share/
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
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
Adolfo Jayme Barrientos
|
|
|
|
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
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:609(command)
|
|
100.
|
|
|
The <application>setfacl</application> command above gives <emphasis>execute</emphasis> permissions to all files in the <filename>/srv/samba/share</filename> directory, which may or may not be desirable.
|
|
|
|
La orden <application>setfacl</application> de arriba da permisos de <emphasis>ejecución</emphasis> a todos los archivos en el directorio <filename>/srv/samba/share</filename> lo que puede o no, ser deseable.
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:613(para)
|
|
101.
|
|
|
A Windows client will show that the new file permissions are implemented. See the <application>acl</application> and <application>setfacl</application> man pages for more information on POSIX ACLs.
|
|
|
|
Un cliente Windows mostrará que se han implementado los nuevos permisos de archivo. Vea las páginas man de <application>acl</application> y <application>setfacl</application> para más información sobre ACL de POSIX.
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:583(para)
|
|
102.
|
|
|
Samba AppArmor Profile
|
|
|
|
Perfil Samba AppArmor
|
|
Translated and reviewed by
Adolfo Jayme Barrientos
|
|
|
|
Located in
docs/sharing/C/sharing.xml:631(title)
|