[Pkg-erlang-devel] Bug#600051: stupid permissions on /etc/couchdb/ leading to desktopcouch not working

Raphaël Hertzog hertzog at debian.org
Wed Oct 13 07:15:46 UTC 2010


Package: couchdb
Version: 0.11.0-2.1
Severity: serious

The chmod -R 0770 /etc/couchdb is just plain wrong in the postinst.

The only file that needs to be read protected is local.ini because it
might contain a password.

The other files should be 664. Directories should be 775.

Please drop this chmod call in the postinst and provide correct
dependencies in the package itself. You are resetting any permission that
the admin might have set on any file...

(Or at least change the permission only on the initial installation.)

Furthermore, those needlessly restrictive permissions break desktopcouch.

Cheers,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages couchdb depends on:
ii  adduser                    3.112+nmu1    add and remove users and groups
ii  erlang-base [erlang-abi-13 1:14.a-dfsg-2 Erlang/OTP virtual machine and bas
ii  erlang-crypto              1:14.a-dfsg-2 Erlang/OTP cryprographic modules
ii  erlang-inets               1:14.a-dfsg-2 Erlang/OTP Internet clients and se
ii  erlang-ssl                 1:14.a-dfsg-2 Erlang/OTP implementation of SSL
ii  erlang-tools               1:14.a-dfsg-2 Erlang/OTP various tools
ii  erlang-xmerl               1:14.a-dfsg-2 Erlang/OTP XML tools
ii  libc6                      2.11.2-6      Embedded GNU C Library: Shared lib
ii  libcurl3                   7.21.1-1      Multi-protocol file transfer libra
ii  libicu44                   4.4.1-6       International Components for Unico
ii  libjs-jquery               1.4.2-2       JavaScript library for dynamic web
ii  libmozjs2d                 1.9.1.13-1    The Mozilla SpiderMonkey JavaScrip
ii  lsb-base                   3.2-26        Linux Standard Base 3.2 init scrip
ii  mawk                       1.3.3-15      a pattern scanning and text proces
ii  procps                     1:3.2.8-9     /proc file system utilities

couchdb recommends no packages.

couchdb suggests no packages.

-- Configuration Files:
/etc/couchdb/local.ini [Errno 13] Permission non accordée: u'/etc/couchdb/local.ini'

-- no debconf information





More information about the Pkg-erlang-devel mailing list