We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Can't install devtools, can't chmod, the final step in the instructions

Followed the steps here:

https://docs.phalcon.io/en/3.2/devtools-installation

Got to the last step:

chmod ugo+x /usr/bin/phalcon

Got this:

chmod: cannot operate on dangling symlink '/usr/bin/phalcon'

Here's what's in my bashrc:

export PTOOLSPATH=/home/ubuntu/phalcon-devtools/
export PATH=$PATH:/home/ubuntu/phalcon-devtools

I also tried some of the things here, no luck:

https://forum.phalcon.io/discussion/2020/chmod-cannot-operate-on-dangling-symlink-usr-bin-phalcon-

What am I doing wrong?



6.6k
Accepted
answer

Nevermind. My ignorance of linux. Fixed the path I was using in the symlink creation.