On 8/1/2011 8:31 AM, Erwan Leroux wrote:
> 2011/8/1 Gilles <[email protected]>:
>> On Mon, 01 Aug 2011 08:03:11 -0500, Stan Hoeppner
>> <[email protected]> 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
>>> different.
>>
>> Yes, it is (installed through apt-get):
> 
> I think most of the tutorials advise you to change from the default
> root:root to www-data:www-data on this folder because this way you
> have a user dedicated to the web server.

After you change ownership to www-data:www-data, use chmod to allow
desired users to write the directory.  Without this step only the
www-data user can write.

-- 
Stan
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to