Change Group Ownership of Symbolic Links in Unix or Linux Mengubah Group Kepemilikan dari Symbolic Link di Unix atau 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 dapat digunakan untuk mengubah kepemilikan kelompok file dan direktori di hampir semua varian UNIX-platform, termasuk Linux seperti Fedora Core, dan lain-lain Ubunto Namun, jika Anda mencoba untuk mengubah anggota grup dari link simbolis, grup kepemilikan referensi link-nya atau file yang berubah instead.
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. Ini adalah standar perilaku chgrp perintah, dimana pilihan dereference digunakan secara default sehingga semua perubahan akan mempengaruhi referent dari setiap link simbolis, bukan pada link simbolik itu sendiri.
To change the group ownership of symbolic link, simply use the -h or –no-dereference flag to the chgrp command. Untuk mengubah kepemilikan grup simbolis link, cukup menggunakan-h atau-no-dereference bendera ke chgrp perintah.
Example: Contoh:
chgrp -h new_group symbolic_link_name chgrp-h group_moderator symbolic_link_name
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman yang diterjemahkan mesin dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Mesin terjemahan mungkin sulit dimengerti. Please refer to Silakan merujuk ke original English article artikel asli Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- How to Make or Create Symbolic Link in Unix or Linux Cara Membuat atau Buat Symbolic Link di Unix atau Linux
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK Buat Symbolic Link, dan Hard Link Direktori Junctions di Vista dengan MKLINK
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Ubah cara atau spoof MAC Address pada Windows XP, Vista, Server 2003/2008, Mac OS X, Unix dan Linux
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (Tingkatkan) dan Concurrent Mampu Big vg Format Volume Group di AIX Unix
- Refresh Linux or Unix Path Environmental Variables with rehash Refresh Linux atau Unix Path Variabel Lingkungan dengan pengulangan
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum Cara Hitung dan Menghasilkan MD5 Hash Nilai di Linux dan Unix dengan md5sum
- How to Mount USB Disk Drive in UNIX or Linux Mau ke Gunung USB Disk Drive di UNIX atau Linux
- Change User Name on Linux Ganti Nama di Linux
- Add Take Ownership Option To Files and Folders Context Menu in Vista Tambahkan Opsi Untuk Mengambil Kepemilikan File dan Folder Context Menu in Vista
- Reset and Change Windows NT/2000 Administrator or User Password with chntpw in Linux Ubah ulang dan atau Administrator Windows NT/2000 Pengguna Sandi dengan chntpw di Linux










































January 17th, 2009 08:34 Januari 17, 2009 08:34
Thanks for the tip. Thanks for the tip. I was always frustrated by not being able to change the ownership of symlinks. Saya selalu frustrasi oleh tidak dapat mengubah kepemilikan symlinks. Definitely good to know. Definitely good to know.