Re: [Samba] Lighttpd + Samba for read/write?

2011-09-26 Thread Gilles
On Tue, 02 Aug 2011 10:38:11 -0500, Stan Hoeppner s...@hardwarefreak.com wrote: On 8/2/2011 8:41 AM, Gilles wrote: However, when creating a new text file in /var/www, its access rights are 744, which doesn't make sense for a non-executable file: [...] WRT the 2nd question, XP will execute a

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-02 Thread Stan Hoeppner
On 8/1/2011 7:50 PM, Gilles wrote: On Mon, 01 Aug 2011 11:22:13 -0500, Stan Hoeppner s...@hardwarefreak.com wrote: 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. Thanks for the

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-02 Thread Gilles
On Tue, 02 Aug 2011 02:11:49 -0500, Stan Hoeppner s...@hardwarefreak.com wrote: As I stated, I am running lighttpd with a non-root user owning the docroot, have been for years Thanks for the info. Turns out there already was a UID www-data in /ec/passwd, and lighttpd.conf used that UID by

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-02 Thread Stan Hoeppner
On 8/2/2011 8:41 AM, Gilles wrote: On Tue, 02 Aug 2011 02:11:49 -0500, Stan Hoeppner s...@hardwarefreak.com wrote: As I stated, I am running lighttpd with a non-root user owning the docroot, have been for years Thanks for the info. Turns out there already was a UID www-data in /ec/passwd,

[Samba] Lighttpd + Samba for read/write?

2011-08-01 Thread Gilles
Hello On a Ubuntu host, I'd like to be able to read/write files in Lighttpd's /var/www from XP. By default, /var/www is owned by root.root, while Samba tutorials I read usually prefer to use nobody.nogroup. How should I configure things so that Lighttpd and Samba work well together in

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-01 Thread Stan Hoeppner
On 8/1/2011 7:41 AM, Gilles wrote: Hello On a Ubuntu host, I'd like to be able to read/write files in Lighttpd's /var/www from XP. I have Debian+Lighty+XP. By default, /var/www is owned by root.root, while Samba tutorials I read usually prefer to use nobody.nogroup. You sure about

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-01 Thread Gilles
On Mon, 01 Aug 2011 08:03:11 -0500, Stan Hoeppner s...@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

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-01 Thread Erwan Leroux
2011/8/1 Gilles gilles.gana...@free.fr: On Mon, 01 Aug 2011 08:03:11 -0500, Stan Hoeppner s...@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

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-01 Thread Stan Hoeppner
On 8/1/2011 8:31 AM, Erwan Leroux wrote: 2011/8/1 Gilles gilles.gana...@free.fr: On Mon, 01 Aug 2011 08:03:11 -0500, Stan Hoeppner s...@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

Re: [Samba] Lighttpd + Samba for read/write?

2011-08-01 Thread Gilles
On Mon, 01 Aug 2011 11:22:13 -0500, Stan Hoeppner s...@hardwarefreak.com wrote: 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. Thanks for the tip. I'll see if Lighttpd is OK with a