unsaid0415@szmer.info to Linux@lemmy.mlEnglish · 1 year agoYou 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.message-squaremessage-square129fedilinkarrow-up1681arrow-down117
arrow-up1664arrow-down1message-squareYou 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.unsaid0415@szmer.info to Linux@lemmy.mlEnglish · 1 year agomessage-square129fedilink
minus-squareWindowsEnjoyer@sh.itjust.workslinkfedilinkarrow-up24·1 year agoLearned that when dealing with Ansible: Folder in most cases 755 File in most cases 644 or 755 if executable.
minus-squareneonred@lemmy.worldlinkfedilinkarrow-up4·edit-21 year agoTo 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 {} \;
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 {} \;
deleted by creator