<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My /var/www directory permissions are:<br>
<br>
drwxr-xr-x  2 root root     4096 Nov 11 15:34 www/<br></blockquote><div><br>This means that the owner and group of the /var/www/ folder is root. So, only the user: root and the members of the group: root are allowed to write to this directory.<br>

 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
While running the install script for FUDForum, I get this message:<br>
<br>
Directory "/var/www/" exists, but the installation script is unable to<br>
write to the directory. Please grant read/write permissions to the web-<br>
server user (www-data/www-data)<br></blockquote><div><br>I am assuming here that the FUDForum install script is trying to create a new file.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


The web-server user is www-data?  I tried changing permissions for the /<br>
var/www folder to add group permissions with chmod g+w /var/www but was<br>
insuficient.<br></blockquote><div><br>Yes, in Ubuntu, the apache2 web server user is www-data.<br>Adding write permissions to /var/www/ will not solve your permissions problem. This is because any new file created will mostly have "-rw-r--r--" permission. So, this new file can only be written to by the user: root and the members of the group: root. In other words, www-data will be unable to write to it.<br>

 </div>You can solve this problem by changing the owner and group of the /var/www/ folder to www-data. To do this, use this command:<br><br>sudo chown -Rv www-data:www-data /var/www<br><br>I hope this helps!<br><br>Regards,<br>

Rigved<br></div>