Change Group Ownership of Symbolic Links in Unix or Linux Changement de propriété de groupe de liens symboliques sur Unix ou 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 peut être utilisé pour changer le groupe propriétaire des fichiers et des répertoires dans presque toutes les variantes UNIX-plates-formes, y compris Linux, tels que Fedora Core, etc Ubunto et Toutefois, si vous essayez de modifier le groupe de son appartenance à un lien symbolique, le propriétaire du groupe du sa référence ou le fichier est lié au lieu changé.
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. C'est le comportement par défaut de commande chgrp, où déréférence option est utilisée par défaut afin que tous les changements auront une incidence sur le référent de chaque lien symbolique, plutôt que le lien symbolique lui-même.
To change the group ownership of symbolic link, simply use the -h or –no-dereference flag to the chgrp command. Pour changer le propriétaire du groupe du lien symbolique, il suffit d'utiliser le-h ou-non-déréférence drapeau à la commande chgrp.
Example: Exemple:
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. IMPORTANT: Il s'agit d'une machine qui traduit la page est fourni "tel quel" sans garantie. Machine translation may be difficult to understand. La traduction automatique mai être difficile à comprendre. Please refer to S'il vous plaît se référer à original English article article original en anglais whenever possible. chaque fois que possible.
Share and contribute or get technical support and help at Partager et de contribuer ou obtenir un appui technique et aider à My Digital Life Forums Ma vie numérique forums .
Related Articles Related Articles
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK Créer des liens symboliques, les liens durs et jonctions de répertoires sous Vista avec MKLINK
- Add Take Ownership Option To Files and Folders Context Menu in Vista Ajouter prendre option à la propriété des fichiers et des dossiers dans le menu contextuel Vista
- How to Take Ownership and Grant Permissions in Windows Vista Comment prendre en charge et accorder des autorisations dans Windows Vista
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (Optimization) et Concomitante Capable Big vg Format groupe de volumes à AIX Unix
- Refresh Linux or Unix Path Environmental Variables with rehash Actualiser Linux ou Unix Path variables environnementales avec rehash
- Running Google Earth on Suse Linux with VMware Google Earth sur Suse Linux avec VMware
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time L'arrêt automatique et redémarrer Apache httpd démon au service de présélection de temps
- How to Mount USB Disk Drive in UNIX or Linux Comment monter USB disque dur sous UNIX ou Linux
- Change User Name on Linux Changer le nom d'utilisateur sur Linux
- Change and Reset MySQL root Password Changement et réinitialisation de mot de passe root
































