Change Group Ownership of Symbolic Links in Unix or Linux Promjena grupe Vlasništvo simboličke veze u UnixWare ili 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 može koristiti za promjenu grupe vlasništva nad datotekama i direktorijima u gotovo svim UNIX-varijanta platformi, uključujući Linux kao što je Fedora Core, Ubunto i sl. Međutim, ako pokušate promijeniti članstvo u grupi od simboličku vezu, vlasništvo nad grupa svojim referenced ili povezanih datoteka mijenja se umjesto toga.
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. To je zadano ponašanje chgrp naredbu, pri čemu se koristi dereference opciju po defaultu tako da se sve promjene će utjecati referent za svaku simboličku vezu, nego samo simbolički link.
To change the group ownership of symbolic link, simply use the -h or –no-dereference flag to the chgrp command. Za promjenu grupe vlasništvo nad simboličku vezu, jednostavno koristite-h ili-ne-dereference zastavu na chgrp naredbu.
Example: Primjer:
chgrp -h new_group symbolic_link_name chgrp-h new_group symbolic_link_name
IMPORTANT : The page is machine translated and provided "as is" without warranty. VAŽNO: stranica je stroj prevedeno i pružena "kakav je" sa garantni. Machine translation may be difficult to understand. Strojno prevođenje svibanj biti teško za razumjeti. Please refer to Molimo pogledajte original English article izvorni Engleski jezik članak whenever possible. kad god je to moguće.
Related Articles Vezani članci
- How to Make or Create Symbolic Link in Unix or Linux Kako napraviti ili stvaranje Simbolička veza u UnixWare ili Linux
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK Kreirajte simboličke veze, Hard Links Directory i spojeve in Vidik sa MKLINK
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Kako to Chanel ili Podvala MAC Adresa u Windowsima XP, Vidik, Poslužitelj 2003/2008, MAC OS Neodređen broj, UnixWare i Linux
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (Obogatite) Istodoban Sposoban i Big vg Oblikovanje Svezak Grupa u AIX Unix
- Refresh Linux or Unix Path Environmental Variables with rehash Osvježiti Linux ili UnixWare Staza okoliša Varijable s ponoviti
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum Kako to izračunati i Roditi MD5 Mljeveno meso Vrijednost u Linux i Unix sa md5sum
- How to Mount USB Disk Drive in UNIX or Linux Kako Mount USB Disk Drive u UNIX ili Linux
- How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending Kako to Onesposobiti Linux i Unix Cron Jobs (Crontab) E-mail slanje
- Change User Name on Linux Promijeni Korisničko ime na Linux
- Add Take Ownership Option To Files and Folders Context Menu in Vista Dodati Uzeti Posjedovanje Izbor To Kartoteka i Savijač Kontekst Meni in Vidik










































January 17th, 2009 08:34 17 siječanj 2009 08:34
Thanks for the tip. Hvala za savjet. I was always frustrated by not being able to change the ownership of symlinks. Uvijek sam bio frustriran mimo ne bitak u mogućnosti to promijeniti vlasništvo nad symlinks. Definitely good to know. Definitivno dobar to znati.