FTPTransport.stat sees mode 000
Bug #326543 reported by
Andrea Bolognani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Hi there.
I've just created a shared repository via FTP, and I can access it just fine over FTP, but I get an error when trying to access it over HTTP. The problem lies in the fact that the .bzr/repository directory ends up with 600 permissions, which causes the web server to return a 404 error on access.
Checking ~/.bzr.log, it reports to have set permissions 448 for the directory, which of course doesn't make any sense. Other files get absurd permissions: .bzr/README, for example, is reported to have been chmod 384.
Once I manually fix the permissions on files and directories, HTTP access works flawlessy.
Related branches
lp:~jelmer/brz/no-more-ftp
- Vincent Ladeuil: Approve
- Martin Packman: Approve
-
Diff: 1510 lines (+17/-1308)16 files modifiedbreezy/help_topics/en/authentication.txt (+3/-3)
breezy/lockdir.py (+0/-3)
breezy/plugins/git/tests/test_dir.py (+1/-1)
breezy/plugins/upload/__init__.py (+1/-1)
breezy/plugins/upload/tests/test_upload.py (+1/-25)
breezy/tests/__init__.py (+0/-6)
breezy/tests/blackbox/test_help.py (+0/-2)
breezy/tests/ftp_server/__init__.py (+0/-82)
breezy/tests/ftp_server/pyftpdlib_based.py (+0/-223)
breezy/tests/test_ftp_transport.py (+0/-151)
breezy/tests/test_http.py (+2/-2)
breezy/tests/test_smart_transport.py (+1/-1)
breezy/tests/transport_util.py (+8/-19)
breezy/transport/__init__.py (+0/-23)
breezy/transport/ftp/__init__.py (+0/-638)
breezy/transport/ftp/_gssapi.py (+0/-128)
Changed in bzr: | |
importance: | Undecided → Medium |
milestone: | none → 2.0 |
status: | New → Confirmed |
tags: | added: ftp |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in brz: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
Attached ~/.bzr.log, with personal information edited out. Bazaar version is 1.11.