From: Peter Chant on
Not sure what to do with this suggestion but (no rude answers please).

Apache package ought to create directory /usr/var with user and group
apache.apache (apache.root perhaps?) so that if webdav is enabled in the
apache config somewhere exists for the dav lock file.

or davlock path in /etc/http/extra/http-dav.conf ought to point to somewhere
more appropriate where it has write permission.

Note, I'm not going as far as suggesting that the example in the config file
is fully enabled - thought that is a thought.

Pete


--
http://www.petezilla.co.uk
From: trryhend on
On Jun 24, 1:27 pm, Peter Chant <REMpete...(a)CAPpetezilla.ITALSco.uk>
wrote:
> Not sure what to do with this suggestion but (no rude answers please).
>
> Apache package ought to create directory /usr/var with user and group

I don't think it will create /usr/var but will create /var/www/
htdocs

/var/www/htdocs will have ownership root.root

From: Peter Chant on
trryhend(a)gmail.com wrote:

>> Apache package ought to create directory /usr/var with user and group
>
> I don't think it will create /usr/var but will create /var/www/
> htdocs
>
> /var/www/htdocs will have ownership root.root

I think that we at cross purposes. I'm suggesting an amendment to the
install script in the package i.e.

mkdir /usr/var
chown apache.apache /usr/var
chmod 775 /usr/var

Webdav needs this directory so it would be a little neater if the package
included it, or if created somewhere else the webdav config were amended.

Pete

--
http://www.petezilla.co.uk
From: Helmut Hullen on
Hallo, Peter,

Du meintest am 27.06.08:

>> /var/www/htdocs will have ownership root.root

> I think that we at cross purposes. I'm suggesting an amendment to
> the install script in the package i.e.

> mkdir /usr/var
> chown apache.apache /usr/var
> chmod 775 /usr/var

That's no good idea.
"/usr/var" hosts many subdirectories, not only one.
The special subdir may be owned by apache:apache. But you get other
problems if you change owner or rights of "/usr/var".

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".

From: Helmut Hullen on
Hallo, Peter,

Du meintest am 24.06.08:

> Not sure what to do with this suggestion but (no rude answers
> please).

> Apache package ought to create directory /usr/var with user and group
> apache.apache (apache.root perhaps?) so that if webdav is enabled in
> the apache config somewhere exists for the dav lock file.

Who suggests this nonsense?
"/usr" and subdirs may be mounted "ro" - there should be no rw dir or
file.

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".