Change Group Ownership of Symbolic Links in Unix or Linux Cambiar la propiedad de grupo de enlaces simbólicos en Unix o Linux
chgrp can be used to change group ownership of files and directories in almost all UNIX-variant platforms, including Linux such as Fedora Core, Ubunto and etc. However, if you try to change the group membership of a symbolic link, the group ownership of its referenced or linked file is changed instead. chgrp se puede utilizar para cambiar la propiedad de grupo de archivos y directorios en casi todas las variantes de UNIX plataformas, incluyendo Linux como Fedora Core, y un largo etc Ubunto Sin embargo, si intenta cambiar la pertenencia a un grupo de un enlace simbólico, el grupo de propiedad su referencia o el archivo enlazado es cambiado su lugar.
This is the default behavior of chgrp command, where dereference option is used by default so that all changes will affect the referent of each symbolic link, rather than the symbolic link itself. Este es el comportamiento predeterminado de comando chgrp, donde desreferenciar opción se utiliza de forma predeterminada a fin de que todos los cambios afectarán el referente de cada enlace simbólico, más que el propio enlace simbólico.
To change the group ownership of symbolic link, simply use the -h or –no-dereference flag to the chgrp command. Para cambiar el grupo propiedad de enlace simbólico, sólo tiene que utilizar el h-o-no-desreferenciar a la bandera comando chgrp.
Example: Ejemplo:
chgrp -h new_group symbolic_link_name chgrp-h new_group symbolic_link_name
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Se trata de una máquina que traduzca la página se proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayudar a My Digital Life Forums Mi vida digital Foros .
Related Articles Artículos relacionados
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK Crear enlaces simbólicos, enlaces duros y Salidas Directorio de Vista con MKLINK
- Add Take Ownership Option To Files and Folders Context Menu in Vista Añadir opción de tomar la propiedad a los archivos y carpetas en el menú contextual Vista
- Refresh Linux or Unix Path Environmental Variables with rehash Actualizar Linux o Unix Path variables ambientales con refrito
- How to Take Ownership and Grant Permissions in Windows Vista Cómo tomar la propiedad y otorgar los permisos en Windows Vista
- Running Google Earth on Suse Linux with VMware Atletismo Google Earth en Suse Linux con VMware
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (Mejorar) Capaz concurrente y Big vg Formato Tomo Grupo en AIX Unix
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time Auto cierre y reinicie el servicio de Apache httpd demonio en tiempo preestablecido
- Change User Name on Linux Cambio de nombre de usuario en Linux
- How to Mount USB Disk Drive in UNIX or Linux Cómo montar unidad de disco USB en UNIX o Linux
- Change and Reset MySQL root Password Cambio y MySQL Restablecer contraseña de root


















