Change Group Ownership of Symbolic Links in Unix or 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 يمكن أن تستخدم لتغيير ملكية مجموعة من الملفات والأدلة في معظم منصات يونيكس المتغير ، بما فيها لينكس مثل فيدورا الأساسية ، Ubunto وغير ذلك ولكن اذا كنت في محاولة لتغيير أعضاء فريق ارتباط رمزي ، مجموعة ملكية اللجنة المشار إليها أو مرتبطة تغير الملف بدلا من ذلك.
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. هذا هو السلوك الافتراضي chgrp من القيادة ، حيث يتم استخدام الخيار محتويات المؤشر افتراضيا حتى يتسنى لجميع التغييرات التي سوف تؤثر على كل من يتحدث صلة رمزية ، وليس صلة رمزية نفسها.
To change the group ownership of symbolic link, simply use the -h or –no-dereference flag to the chgrp command. لتغيير ملكية المجموعة صلة رمزية ، لمجرد استخدام - ح او لا علم لمحتويات المؤشر chgrp القيادة.
Example: على سبيل المثال :
chgrp -h new_group symbolic_link_name ح chgrp - new_group symbolic_link_name
IMPORTANT : The page is machine translated and provided "as is" without warranty. هام : إن آلة الصفحة المترجمة ، وقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهمها. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.
Related Articles المواد ذات الصلة
- How to Make or Create Symbolic Link in Unix or Linux طريقة صنع أو خلق الروابط الرمزية في يونكس أو لينكس
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK خلق روابط الرمزية ، ودليل مواقع الصلبة المفارق في فيستا مع MKLINK
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux كيفية تغيير العنوان أو السخرية لجنة الهدنة العسكرية في ويندوز إكس بي ، فيستا ، خادم 2003/2008 ، ونظام التشغيل ماك العاشر ، لينوكس ويونكس
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (تعزيز) متزامنة قادرة شكل جيد جدا وكبيرة الحجم في مجموعة إكس يونكس
- Refresh Linux or Unix Path Environmental Variables with rehash تحديث لينكس أو يونكس الدرب مع المتغيرات البيئية إعادة
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum كيفية حساب MD5 وتوليد قيمة البعثرة في لينوكس ويونكس مع MD5SUM
- How to Mount USB Disk Drive in UNIX or Linux كيفية تشغيل الأقراص USB جبل في يونيكس أو لينكس
- Change User Name on Linux تغيير اسم المستخدم على لينكس
- Add Take Ownership Option To Files and Folders Context Menu in Vista إضافة خيار ملكية الملفات والمجلدات القائمة في سياق فيستا
- Reset and Change Windows NT/2000 Administrator or User Password with chntpw in Linux إعادة والتغيير ويندوز NT/2000 مدير المستخدم أو كلمة السر في لينكس مع chntpw










































January 17th, 2009 08:34 كانون الثاني / يناير 17th ، 2009 08:34
Thanks for the tip. شكرا لهذه المعلومة. I was always frustrated by not being able to change the ownership of symlinks. كنت دائما بالإحباط من جراء عدم قدرتها على تغيير ملكية symlinks. Definitely good to know. بالتأكيد معرفة جيدة.