Is there a way of setting it up so that I can edit the files in htdocs without su-ing?
gee I thought I said that:
I'm working on a work-around for that, BUT I haven't found anything quicker and dirtier than CHOWN'ing the files
I'm going to explain why it is that way briefly - LAMPP was designed for servers, not desktop workstations.
Read the ProFTPD config -- it explains what the deal is.
nobody is a special user (AND) the default FTP user. So 'nobody' uploading the files creates the correct permissions and ownership when someone FTP's in.
Get it??? I actually chown the files to jonb:root while I'm working, and when I'm ready to test, I just change them back. it couldn't take 1/2 a second/
I use just use gedit from a file manager, as I have ownership when I'm editing...
Also, will I encounter the same sort of problems when I fire up the databases?
No - because you will be using MySQL credentials to authenticate - its not the same as file ownership or location.