[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FHS and /var/www

Ben Finney wrote:
> I'm now in favour of '/srv' being out of bounds for the package
> manager, like '/usr/local'.

The FHS is pretty amusing on this topic:

  Distributions must take care not to remove locally placed files in these
  directories (/srv/*) without administrator permission. [20]

  [20] This is particularly important as these areas will often contain both
       files initially installed by the distributor, and those added by
       the administrator.

So the FHS allows a package to install files to /srv (with care), but
they cannot be removed when the package is -- so it would be a very
strange package that did so. It also seems to allow packages to
install/remove empty directories in /srv similarly to the way policy
allows in /usr/local.

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: