Comment 0 for bug 621749

Revision history for this message
plan_rich (richard-plangger) wrote : bzr upload on my ftp generates corrupt files

Basically i have a ftp from my provider (weblino.de) and i want to upload my projekt to my web root folder.
Bzr upload loads all files into the right directory and all files do have the same size as locally.

BUT when i access the index.php file or any other .php file the apache webserver throws this error:
"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
--------------------------------------------------------------------------------------------------------------------------
Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g Server at www.web348.istnochinarbeit.de Port 80"

Copying manually with Nautilus does not raise any error at all!

Further info:
I also checked the permissons of my index.php file and and it was 744 so i changed it to 644 and it works. Also going back to 744 does not raise the error again!

bzr version:
Bazaar (bzr) 2.1.1
  Python interpreter: /usr/bin/python 2.6.5
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.32-24-generic-pae-i686-with-Ubuntu-10.04-lucid
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/rich/.bazaar
  Bazaar log file: /home/rich/.bzr.log

Copyright 2005-2010 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

bzr plugins -v:
bzrtools 2.1.0
    Various useful commands for working with bzr.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools

launchpad 2.1.1
    Launchpad.net integration plugin for Bazaar.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad

netrc_credential_store 2.1.1
    Use ~/.netrc as a credential store for authentication.conf.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store

news_merge 2.1.1
    Merge hook for bzr's NEWS file.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge

upload 1.0.0dev
    Upload a working tree, incrementally.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/upload