Better error logging on SOF metadata writes

Bug #1445237 reported by Bill Owen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swiftonfile
Fix Committed
Undecided
Bill Owen

Bug Description

SOF metadata update failed because object written from file interface was not writable by swift user. The error message did not report the permission denied error message in the exception.

To reproduce:
1. upload a file using object interface
2. from file interface, modify the file as non-swift user, as root for example
3. try to download the object from object interface, the download will file.

The log message reports operating system error 13, rather than "Permission denied".

Revision history for this message
Luis Pabón (lpabon) wrote :

Bill could you add some steps to reproduce? Thanks.

Changed in swiftonfile:
assignee: nobody → Prashanth Pai (ppai)
Revision history for this message
Prashanth Pai (ppai) wrote :
Changed in swiftonfile:
assignee: Prashanth Pai (ppai) → Bill Owen (billowen)
Changed in swiftonfile:
status: New → In Progress
Bill Owen (billowen)
description: updated
Changed in swiftonfile:
status: In Progress → Fix Committed
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.