[Samba] Lighttpd + Samba for read/write?
gilles.ganault at free.fr
Mon Aug 1 07:10:14 MDT 2011
On Mon, 01 Aug 2011 08:03:11 -0500, Stan Hoeppner
<stan at hardwarefreak.com> wrote:
>> By default, /var/www is owned by root.root, while Samba tutorials I
>> read usually prefer to use nobody.nogroup.
>You sure about that? On Debian the owner of /var/www is www-data.
>Ubuntu is derived directly from Debian. I'd be surprised if it's that
Yes, it is (installed through apt-get):
# ll /var/
drwxr-xr-x 2 root root 4096 2011-08-01 14:35 www/
>May not be the perfect way to do it, but this has been working for me
>for quite some time:
Thanks for the tip. I'm just concerned about who should own /var/www,
and what access rights to give to /var/www so that Lighttpd and Samba
work OK together.
Also, I just install the following packages without knowing whether
all of them are really needed:
apt-get install samba samba-client samba-common samba-common-bin
apt-get install smbfs winbind
More information about the samba