Bug 782542

Summary: [rfe] Oz should create screenshot dir if it doesn't exist and has perms
Product: [Retired] CloudForms Cloud Engine Reporter: Brad P. Crochet <brad>
Component: ozAssignee: Ian McLeod <imcleod>
Status: CLOSED EOL QA Contact: Dave Johnson <dajohnso>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: brad, dajohnso, hbrock, whayutin
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:39:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Brad P. Crochet 2012-01-17 16:24:36 UTC
Description of problem:
Oz does not create the screenshot directory if it doesn't exist. If it has the permissions to create it, it should. Otherwise, should probably just report a non-fatal error and continue.

Version-Release number of selected component (if applicable):
ca042223c2716d23fe97055062f1025058aab5fa

How reproducible:
Always

Steps to Reproduce:
1. Change screenshot_dir in /etc/oz/oz.cfg to a directory that does not exist
2. Generate a screenshot
3. Profit
  
Actual results:
Does not create screenshot directory even if process has perms

Expected results:
Create screenshot directory when perms are sufficient

Additional info:

Comment 1 jrd 2012-01-17 18:03:29 UTC
How important is this for 1.0?

Comment 2 Brad P. Crochet 2012-01-17 18:07:48 UTC
This can wait for post-1.0.

Comment 3 wes hayutin 2012-02-22 23:46:21 UTC
moving version to 1.0.0 .  version = found in version