unable to attach zero-length resource

Bug #1723970 reported by Sheila Miguez
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Tim Penhey

Bug Description

When I attempted to attach a zero length file I got an error about it having negative size.

I'm running juju 2.2.4-xenial-amd64 from a snap.

(vc3) codersquid@yaga ~/work/newc3charm/certification (newcharm)
» touch ../empty.tar.gz
(vc3) codersquid@yaga ~/work/newc3charm/certification (newcharm)
» juju attach certification build=../empty.tar.gz
ERROR failed to upload resource "build": bad file info: negative size
(vc3) codersquid@yaga ~/work/newc3charm/certification (newcharm)
» ll ../empty.tar.gz
-rw-rw-r-- 1 codersquid codersquid 0 Oct 16 07:47 ../empty.tar.gz

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.3.0
status: New → Triaged
importance: Undecided → High
tags: added: papercut usability
Tim Penhey (thumper)
Changed in juju:
milestone: 2.3.0 → 2.3-rc1
Tim Penhey (thumper)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Tim Penhey (thumper)
Revision history for this message
Tim Penhey (thumper) wrote :
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.