You can't cd or ls in a folder if you have no +x permissions on it. That is all. I wasted 3 hours of my life.
You can't cd or ls in a folder if you have no +x permissions on it. That is all. I wasted 3 hours of my life.
You can't cd or ls in a folder if you have no +x permissions on it. That is all. I wasted 3 hours of my life.
You're viewing a single thread.
Learned that when dealing with Ansible:
To change all the directories to 755 (drwxr-xr-x
):
find /opt/lampp/htdocs -type d -exec chmod 755 {} \;
To change all the files to 644 (-rw-r--r--
):
find /opt/lampp/htdocs -type f -exec chmod 644 {} \;