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 755 /public_html/wp/etc/etc

Or if you are logged in via FTP as the user that owns the web folders then you would usually right click (if you’re using a graphical FTP client) on the file or folder and either add the writes where you want them or in some cases just type the 755/777 etc.

Related External Links