Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed the newest Erlang from source. As the final step I have executed

 sudo make install

Among other things, it placed erl link in /usr/local/bin, but its permissions are insufficient for me to use, other than with sudo

 lrwxr-x---  1 root  wheel    21B Apr 19 22:26 erl@

/usr/local/bin permissions:

 drwxr-xr-x  18 root  wheel   612B Apr 20 21:45 bin/

sudo gives enough permissions to execute, but not enough to change the permissions. The question is, how do I change the permissions on these symbolic links?

share|improve this question

migrated from superuser.com Apr 21 '11 at 2:13

This question came from our site for computer enthusiasts and power users.

up vote 2 down vote accepted

Are you using chmod's -h option (from the man page: "-h If the file is a symbolic link, change the mode of the link itself rather than the file that the link points to")? I tried it, and it seemed to do the job:

sudo chmod -h o+rx erl
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.