How to make directories writable in Ubuntu or most other distribs

Re: How to make directories writable? Applications -> Accessories -> Terminal Type: sudo chmod -R 777 /opt/lampp/ for example or sudo chmod -R (for recursive ((don’t type this))) 755 is a bit safer as it does not allow a folder to be world writable. What that’d look like without my mess is: sudo chmod -R …