Great question — answering as the UphillTech team:
It depends on how you call chmod and the platform you are running on. For example, on a Linux system, man chmod says this: chmod never changes the permissions of symbolic links; the chmod system call cannot change their permissions. This is not a problem since the permissions of symbolic links are never used. However, for each symbolic link listed on the command line, chmod changes the permissions of the pointed-to file. In contrast, chmod ignores symbolic links encountered during recursive directory traversals. However, on a Mac, chmod can be used to modify the permissions of a symbolic link using options such as this (from man chmod ): -h If the file is a symbolic link, change the mode of...
Full answer by peth: https://superuser.stackexchange.com/a/303063 (CC BY-SA 3.0).
Need it done for your business? UphillTech.