Ubuntus annoying security...
And you thought VAC was bad :p
So how to I go about giving myself proper access to allow me to do stuff remotely?
I'm basically wanting near root access to my "debox" account but going to the users and accounts settings has no options for this.
Hmm... Chmod 777 seemed to have fixed it, but I don't want to chmod everything I need to access.. there must be a better way?
You should give the account your FTP server is running under ownership of the htdocs folder and everything underneath it. That should prevent you from having to chmod 777 all that stuff.
Erm, how do I check who owns the XAMPP FTP process? :crying:
Originally Posted by Barret7sc
I just look at the process list... You could check /etc/passwd for an "ftp" user (or something similar). I'm sure there are other ways, but these two have always solved my problems.
Originally Posted by DeMoN X
Another solution, similar to what Barret7sc suggested, is to create a group for all XAMPP users (FTP and Apache, plus any others that will require write-access in the directories you're to be editing), then make the FTP and Apache users part of that group. Finally, "chgrp -R 775" the directory which you want fixed. You might need to set up the FTP server's default file writing permissions to 775, instead of 755 - although it has been many, many years since I last set up an FTP server...
The benefit of doing it this way instead of simply chowning the directories is that chowning can lead to different permission errors: if you upload a file via FTP which is owned by the FTP user, Apache will complain if it tries to write to that file (since it'll be owned by a different user).
I hope that helps.
Very helpful :D thanks!
Next up.. PPTP.. *shudders*