Bug#216402: apache-common: config fails due to invalid chown/chmod option syntax
Package: apache-common
Version: 1.3.28-4
Severity: normal
Setting up apache-common (1.3.28-4) ...
chown: failed to get attributes of `-R': No such file or directory
dpkg: error processing apache-common (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
apache-common
The offending line appears to be:
chown www-data:www-data /var/lib/apache/mod-bandwidth -R
chmod 777 /var/lib/apache/mod-bandwidth -R
Unix options like -R need to go on the beginning of the command.
Like:
chown -R www-data:www-data /var/lib/apache/mod-bandwidth
chmod -R 777 /var/lib/apache/mod-bandwidth
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux stark.dyndns.tv 2.4.23-pre4 #1 SMP Sun Sep 21 04:35:38 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache-common depends on:
ii debconf 1.3.15 Debian configuration management sy
ii libc6 2.3.2-8 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-4 Berkeley v4.1 Database Libraries [
ii libexpat1 1.95.6-4 XML parsing C library - runtime li
ii mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
ii perl [perl5] 5.8.1-2 Larry Wall's Practical Extraction
-- debconf information excluded
Reply to: