Change Group Ownership of Symbolic Links in Unix or Linux Mainīt grupas Īpašumtiesības Symbolic Links in Unix vai 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 var izmantot, lai mainītu grupas īpašnieku failus un direktorijas gandrīz visās UNIX variantu platformām, tai skaitā Linux, piemēram, Fedora Core, Ubunto uc Taču, ja jūs mēģināt mainīt grupu piederību simbolisko saiti, grupu īpašumtiesības uz tās atsauces vai saistīto failu maina vietā.

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. Šis ir noklusējuma izturēšanos chgrp komandu, kur dereference variants tiek izmantots pēc noklusējuma, lai visas izmaiņas ietekmēs referents katras simboliskās saites, nevis simboliska saite pati.

To change the group ownership of symbolic link, simply use the -h or –no-dereference flag to the chgrp command. Lai mainītu grupas īpašnieku simboliska saite, vienkārši izmanto-h vai-no-dereference karogu chgrp komandu.

Example: Piemērs:

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. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.

One Response to “Change Group Ownership of Symbolic Links in Unix or Linux” One Response to "Mainīt grupas Īpašumtiesības simboliska saikne Unix vai Linux"

  1. Lars Lars
    January 17th, 2009 08:34 Janvāris 17, 2009 08:34
    1 1

    Thanks for the tip. Paldies par tip. I was always frustrated by not being able to change the ownership of symlinks. Man vienmēr bija neapmierināts, jo viņi nespētu mainīt īpašumtiesībām symlinks. Definitely good to know. Noteikti labi zināt.

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Jūs varat izmantot šos tagus: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Saņemt informāciju par jaunāko komentārus, parakstīties uz My Digital Life Comments RSS feed Mana Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.

New Articles Jauns pants

Incoming Search Terms for the Article Ienākošo Meklēt noteikumi pants

change owner of symbolic link maina īpašnieku simboliska saite - -- change ownership of symbolic link maina īpašniekus simboliska saite - -- change owner symbolic link maina īpašnieku simboliska saite - -- change ownership of symlink maina īpašniekus un saitēt - -- change ownership symbolic link maina īpašniekus simboliska saite - -- linux change symbolic link owner linux mainīt simboliska saite īpašnieks - -- change symlink owner mainīt saitēt īpašnieks - -- symbolic links owner simboliskās saites īpašnieks - -- change symbolic link owner mainīt simboliska saite īpašnieks - -- change the owner of a symbolic link mainīt īpašnieku simboliska saite - -- changing ownership of symbolic link īpašumtiesību maiņas simboliska saite - -- linux change owner of symbolic link linux maina īpašnieku simboliska saite - -- change ownership link maina īpašniekus saite - -- how to change owner group fedora kā mainīt Owner Group Fedora - -- linux change owner symbolic link linux maina īpašnieku simboliska saite - -- changing group on AIX mainās grupa AIX - -- change link owner Mainīt saiti īpašnieks - -- how to set unix permissions on symbolic links kā iestatīt unix permissions par simbolisku saites - -- changing owner of a symbolic link in linux mainās īpašnieks simboliska saite linux - -- change ownership of the link linux maiņa īpašumtiesību saikne linux - -- create symbolic link with owner group radīt simbolisku saikni ar īpašnieku grupu - -- change owner of sym link nomainītīpašnieku sim saite - -- set permission under symbolic link in linux noteikt atļauju saskaņā ar simbolisko saiti linux - -- unix symbolic link permissions unix simboliska saite atļaujas - -- change owner soft link maina īpašnieku soft link - -- change permission on link unix mainīt atļauju uz saites unix - -- aix change group aix mainīt grupas - -- linux change permission on link linux mainīt atļauju uz saites - -- linux change symlink ownership linux maiņa saitēt īpašuma - -- linux change permission of symlink linux mainīt atļaujas, saitēt - -- linux change soft links owner linux mainīt soft saites īpašnieks - -- unix modify a link group owner unix modificēt saiti Grupas īpašnieks - -- change group owner of symbolic link mainīt grupas īpašnieks simboliska saite - -- change ownership of a link maina īpašniekus un saite - -- change group of symbolic link mainīt grupas simboliska saite - -- change owner of linked file nomainītīpašnieku linked file - -- change owner link linux maina īpašnieku saite linux - -- changing owner of symlink mainās īpašnieks saitēt - -- change the group of a link mainīt grupas saite - -- change ownership of link in unix maiņa īpašumtiesību saiknes unix - -- change owner symbolic link linux maina īpašnieku simboliska saite linux - -- how to change owner link kā mainīt īpašnieku saite - -- how to change ownership of symlink kā mainīt īpašuma saitēt - -- linux change owner volume group linux maina īpašnieku tilpums grupa - -- linux change ownership volume group linux maina īpašniekus tilpums grupa - -- linux change symbolic link group linux mainīt simboliska saite grupa - -- solaris howto change group for links Solaris HOWTO mainīt grupas saikni - -- solaris change owner command Solaris maina īpašnieku komanda - -- symbolic link owner group simboliska saite Owner Group - -- unix change ownership of symbolic unix maina īpašniekus simboliska - --