FS#20015 - [drupal] Original .htaccess content replaced by "deny from all"

Attached to Project: Community Packages
Opened by Florian (monsieur.moche) - Tuesday, 29 June 2010, 04:51 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 29 June 2010, 21:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The (very useful) original .htaccess content is *replaced* by "deny from all".
I guess it's a security measure, but shouldn't it be *added* to the original file content?
Plus, I think this addition would deserve to be notified at the end of the package installation.

(Note: I'm not sure if this is the right place to report a bug of a Community repo package, but the "Bug reports" link of the package page leads here.)
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 29 June 2010, 21:27 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Tuesday, 29 June 2010, 18:35 GMT
it is strange. PKGBUILD contains

backup=(srv/http/drupal/.htaccess)

could it be reproduced? (may be you upgrade it from ancient version?)
Comment by Florian (monsieur.moche) - Tuesday, 29 June 2010, 18:56 GMT
Yes I can:

================================================================================
florian@flobox:/srv$ sudo rm http/* -rf
florian@flobox:/srv$ yaourt -Syy
:: Synchronizing package databases...
core 35.4K 133.0K/s 00:00:00 [######################] 100%
extra 453.0K 203.9K/s 00:00:02 [######################] 100%
community 377.2K 253.8K/s 00:00:01 [######################] 100%
archlinuxfr 11.6K 178.5K/s 00:00:00 [######################] 100%

florian@flobox:/srv$ yaourt -S drupal
resolving dependencies...
looking for inter-conflicts...

Targets (1): drupal-6.17-1

Total Download Size: 0.00 MB
Total Installed Size: 4.79 MB

Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts [######################] 100%
(1/1) installing drupal [######################] 100%
Remember that you need to install either mysql or postgresql for this package
to work. Also make sure to read either INSTALL.mysql.txt (for MySQL) or
INSTALL.pgsql.txt (for PostgreSQL) in /srv/www/drupal/.

florian@flobox:/srv$ cat http/drupal/.htaccess
deny from all
================================================================================

There's no drupal package in the archlinuxfr repo.
Comment by Sergej Pupykin (sergej) - Tuesday, 29 June 2010, 21:27 GMT
my bad, check drupal 6.17-2

Loading...