wrong permissions on uploaded php scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr Upload plugin |
New
|
Undecided
|
Unassigned |
Bug Description
Basically i have a ftp access from my provider (weblino.de) and i want to upload my project to my web root folder.
Bzr upload loads all files into the right directory and all files do have the same size as on my machine.
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.
Copying manually with Nautilus does not raise any error at all!
Further info:
I also checked the permissons of my index.php file and it was 744 so i changed it to 644 and it worked. 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.
bzrlib: /usr/lib/
Bazaar configuration: /home/rich/.bazaar
Bazaar log file: /home/rich/.bzr.log
Copyright 2005-2010 Canonical Ltd.
http://
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/
launchpad 2.1.1
Launchpad.net integration plugin for Bazaar.
/usr/
netrc_credentia
Use ~/.netrc as a credential store for authentication.
/usr/
news_merge 2.1.1
Merge hook for bzr's NEWS file.
/usr/
upload 1.0.0dev
Upload a working tree, incrementally.
/usr/
description: | updated |
security vulnerability: | yes → no |
visibility: | private → public |
summary: |
- bzr upload on my ftp generates corrupt files + wrong permissions on uploaded php scripts |
Have you compared the contents of the file as uploaded by bzr-upload with the one uploaded by nautilus? Are you sure this isn't just a bug in your php script?