Ubuntus annoying security...
Computer Gaming ForumHmm... 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.
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
thanks!
Next up.. PPTP.. *shudders*
thanks!Next up.. PPTP.. *shudders*
Original thread: https://assemblergames.com/threads/ubuntus-annoying-security.22270/
![[IMG]](https://web.archive.org/web/2im_/http://img258.imageshack.us/img258/3061/fixed.th.png)