I'm running a web server and the public_html folder is in a windows network drive shared by samba on Ubuntu Server 10.04.
I have apache2 VH set to point to the folder and it works great. However, when my Drupal 6 install tries to create its default files it can not write to the locations required.
Now, because this is only a dev machine; I have added www-data user and group to the visudo with ALL=(ALL) ALL
I have also gone and changed the httpd.conf file to have the following:
<Directory /media/samba>
Order Allow,Deny
Allow from all
</Directory>
When I change the envvars username to username with admin privileges it works just fine. Is there something i need to do with chmod to get www-data to work?