Opened at 2021-06-14T17:33:18Z
Last modified at 2021-06-16T15:49:22Z
#3737 new defect
Bug/regression: uploading file to directory via the web UI fails with unhelpful error if the file is unreadable — at Version 1
Reported by: | itamarst | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description (last modified by itamarst)
I created a directory, then tried to upload a file via the web UI.
I got an error: POST to a directory with bad t=
The URL was: http://localhost:3457/uri/URI%3ADIR2%3Agtmxm5wg2g5dgfmavsd63ro7ve%3Ahiwl3vcf6oc77zixcgtnn736fck4ufiezkx2n732k4ylyya5c47a/
The content-length of the POST was zero, which yeah would suggest a problem.
The problem was that the file was owned by root and chmod 600, so not readable. There should really be a more user-friendly error when this is the case.
Change History (1)
comment:1 Changed at 2021-06-16T15:49:22Z by itamarst
- Description modified (diff)
- Milestone Support Python 3 deleted
- Summary changed from Bug/regression: uploading file to directory via the web UI failed to Bug/regression: uploading file to directory via the web UI fails with unhelpful error if the file is unreadable
Note: See
TracTickets for help on using
tickets.