FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 05-20-2010, 05:54 PM
Olaf van der Spek
 
Default Who owns /var/log/lighttpd?

Hi,

Please CC me, I'm not on the list.

Who owns /var/log/lighttpd?
Lighttpd (running as www-data) expects to be able to create files in
this dir, so the dir is owned by www-data.
What is the recommended way to chown this? Chown manually in postinst?
In the init script? Is there any support for this in the packaging
tools?

It's about http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563635
--
Olaf


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTilZGM_OSaslfGl7T4UH4STV0ALin2kD2JFTeXcb@mail .gmail.com">http://lists.debian.org/AANLkTilZGM_OSaslfGl7T4UH4STV0ALin2kD2JFTeXcb@mail .gmail.com
 
Old 05-21-2010, 01:49 AM
Paul Wise
 
Default Who owns /var/log/lighttpd?

Probably the solution to that bug is to read the user from the
lighttpd configuration instead of hard-coding it. lighttpd -p can
probably help here. Not sure how you would parse the output though.

--
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTiklkcnlkgDPq_cCfTwrbeXKSab2QZF7dtOAmXYk@mail .gmail.com">http://lists.debian.org/AANLkTiklkcnlkgDPq_cCfTwrbeXKSab2QZF7dtOAmXYk@mail .gmail.com
 
Old 05-22-2010, 02:56 PM
Olaf van der Spek
 
Default Who owns /var/log/lighttpd?

On Fri, May 21, 2010 at 3:49 AM, Paul Wise <pabs@debian.org> wrote:
> Probably the solution to that bug is to read the user from the
> lighttpd configuration instead of hard-coding it. lighttpd -p can
> probably help here. Not sure how you would parse the output though.

That's too hacky, so not a solution.

I think you should not use the standard dirs if you need your dirs to
be owned by someone else.
--
Olaf


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimSaS46tpPVAhSyGd4gYfQ1U8EokPwXqJr-NTUY@mail.gmail.com">http://lists.debian.org/AANLkTimSaS46tpPVAhSyGd4gYfQ1U8EokPwXqJr-NTUY@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 10:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org