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

Re: /usr/local (again)



Hello Ian,

you wrote:
>    In order that the system administrator may know where to place   
>    additional files a package should create an empty directory in the    
>    appropriate place in /usr/local by supplying it in the filesystem
>    archive for unpacking by dpkg. The /usr/local directory itself and all
>    the subdirectories created by the package should have permissions 2775
>    (group-writeable and set-group-id) and be owned by root.staff.        

I  diskussed that with Richard in private email earlier and what i proposed
was:

1. Provide a link /usr/lib/<package>/local pointing to /etc/local/<package>.
   (One might as well use /etc/alternatives ...)

2. At installation time ask the installer where the local directory is
   located and make create a link /etc/local/<package> to the location
   given by the installing person.

Thus there is a well-defined path at compile time which is configurable
at run-time.  The reaseon for the redirection through /etc is the support
of read-only media (CD-ROM or NFS-shares).

Comments?
  Dominik Kubla

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Visit the FAN SITE of the WORLD LEAGUE OF AMERICAN FOOTBALL:
<A HREF="http://www.uni-mainz.de/~kubla/WLAF/Welcome.html>HTTP</A> or
<A HREF="file:/afs/zdv.uni-mainz.de/homes/UFO/kubla/public_html/WLAF/Welcome.ht
ml">AFS file</A> access.




Reply to: