chgrpなどでsymlink元の情報を変えたい
いつもあいまいに作業しているのでメモ.
$ LANG=C chown --help Usage: chown [OPTION]... OWNER[:[GROUP]] FILE... or: chown [OPTION]... :GROUP FILE... or: chown [OPTION]... --reference=RFILE FILE... Change the owner and/or group of each FILE to OWNER and/or GROUP. With --reference, change the owner and group of each FILE to those of RFILE. -c, --changes like verbose but report only when a change is made --dereference affect the referent of each symbolic link, rather than the symbolic link itself (this is the default) -h, --no-dereference affect each symbolic link instead of any referenced file (useful only on systems that can change the ownership of a symlink)
ってことで「--no-dereference」使うこと.