[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3737: Bug/regression: uploading file to directory via the web UI fails with unhelpful error if the file is unreadable (was: Bug/regression: uploading file to directory via the web UI failed)

Tahoe-LAFS trac at tahoe-lafs.org
Wed Jun 16 15:49:22 UTC 2021


#3737: Bug/regression: uploading file to directory via the web UI fails with
unhelpful error if the file is unreadable
--------------------------+-----------------
     Reporter:  itamarst  |      Owner:
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:
    Component:  unknown   |    Version:  n/a
   Resolution:            |   Keywords:
Launchpad Bug:            |
--------------------------+-----------------
Changes (by itamarst):

 * milestone:  Support Python 3 =>


Old description:

> 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.
>
> Same thing happened with Python 2.
>
> I imagine this is a regression tied to the removal of Nevow.

New description:

 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.

--

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3737#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list