On Fri, Apr 08, 2005 at 08:48:56PM -0500, Rob Browning wrote: > Stephen Gildea <[EMAIL PROTECTED]> writes: > > But failing to do a chown or chmod of these directories is not > > important enough to cause package installation to fail on any file > > system. > > Before I'd be willing to change this, I'd need to hear from > debian-policy that such a change would be acceptable. Current policy > specifies both the "set -e" (6.1) and these specific permissions on > /usr/local/ and its subdirectories (9.1.2): > > http://www.debian.org/doc/debian-policy/ch-opersys.html > http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
I guess this is covered by "Since /usr/local can be mounted read-only from a remote server, these directories must be created and removed by the postinst and prerm maintainer scripts and not be included in the .deb archive. These scripts must not fail if either of these operations fail." (9.1.2) since the chmodding is clearly part of the creation of the directory. And regarding the example, it's just this, an example, and therefor probably not really a policy recomendation in itself. Just my 0.02 â, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]