Bug 1379210

Summary: lots of annoying warnings after run "sudo mediawriter"
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: mediawriterAssignee: Martin Bříza <mbriza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: mbriza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mediawriter-3.97.2-0.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 11:31:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
journal none

Description lnie 2016-09-26 04:29:26 UTC
Created attachment 1204653 [details]
journal

Description of problem:
[lnie@localhost ~]$ sudo mediawriter 
[sudo] password for lnie: 
Warning: QIODevice::write (QFile, "/root/Downloads/Fedora-Workstation-Live-x86_64-24-1.2.iso.part"): device not open ((null):0, (null))
Warning: QIODevice::write (QFile, "/root/Downloads/Fedora-Workstation-Live-x86_64-24-1.2.iso.part"): device not open ((null):0, (null))
Warning: QIODevice::write (QFile, "/root/Downloads/Fedora-Workstation-Live-x86_64-24-1.2.iso.part"): device not open ((null):0, (null))
Warning: QIODevice::write (QFile, "/root/Downloads/Fedora-Workstation-Live-x86_64-24-1.2.iso.part"): device not open ((null):0, (null))
Warning: QIODevice::write (QFile, "/root/Downloads/Fedora-Workstation-Live-x86_64-24-1.2.iso.part"): device not open ((null):0, (null))
Warning: QIODevice::write (QFile, "/root/Downloads/Fedora-Workstation-Live-x86_64-24-1.2.iso.part"): device not open ((null):0, (null))
Warning: QIODevice::write (QFile, "/root/Downloads/Fedora-Workstation-Live-x86_64-24-1.2.iso.part"): device not open ((null):0, (null))
......

Version-Release number of selected component (if applicable):
mediawriter-3.97.1-0.fc25.x86_64.rpm

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
mediawriter start downloading Fedora-Workstation-Live-x86_64-24-1.2.iso.part ,even though there is an intact one in /test/Downloads/

Comment 1 Martin Bříza 2016-09-29 14:00:18 UTC
The application runs as root when you use sudo to start it so it starts to download the image to root's home folder - /root/Downloads. However, it doesn't exist on most installations so hence the errors. I'm going to fix this for the next release. 
Over time I may add detection of the actual user's home folder (I had this in liveusb-creator but then it ran as root by default).
Thank you for the report.

Comment 2 Fedora Update System 2016-10-12 01:53:07 UTC
mediawriter-3.97.2-0.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fc9e87107b

Comment 3 Fedora Update System 2016-10-18 11:31:17 UTC
mediawriter-3.97.2-0.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.