Bug 739205
Summary: | Aviary getJobData method requires different permissions than FetchJobData in QMF | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Trevor McKay <tmckay> |
Component: | condor-aviary | Assignee: | Pete MacKinnon <pmackinn> |
Status: | CLOSED ERRATA | QA Contact: | Lubos Trilety <ltrilety> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | Development | CC: | jneedle, ltrilety, matt, tstclair |
Target Milestone: | 2.1 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | condor-7.6.4-0.6 | Doc Type: | Bug Fix |
Doc Text: |
When attempting to retrieve the contents of a file using the Aviary getJobData() function, a permission error occurred and the user was unable to finish the operation through the Aviary API even though it was possible to do via QMF (Qpid Management Framework). With this update, the getJobData() code has been modified to adjust file permissions earlier, and users can now retrieve files both through QMF and Aviary interfaces.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-23 17:29:21 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 743350 |
Description
Trevor McKay
2011-09-16 19:18:47 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Permission error when attempting to retrieve the contents of a file using Aviary getJobData operation. Consequence: User is unable to retrieve file through Aviary API whereby similar QMF version works. Fix: Code modified to adjust file permissions earlier in getJobData implementation. Result: User can retrieve file through QMF and Aviary interface. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1 @@ -Cause: Permission error when attempting to retrieve the contents of a file using Aviary getJobData operation. +Cause: Permission error when attempting to retrieve the contents of a file using Aviary getJobData operation. Consequence: User is unable to retrieve file through Aviary API whereby similar QMF version works. Fix: Code modified to adjust file permissions earlier in getJobData implementation. Result: User can retrieve file through QMF and Aviary interface.-Consequence: User is unable to retrieve file through Aviary API whereby similar QMF version works. -Fix: Code modified to adjust file permissions earlier in getJobData implementation. -Result: User can retrieve file through QMF and Aviary interface. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1,4 @@ -Cause: Permission error when attempting to retrieve the contents of a file using Aviary getJobData operation. Consequence: User is unable to retrieve file through Aviary API whereby similar QMF version works. Fix: Code modified to adjust file permissions earlier in getJobData implementation. Result: User can retrieve file through QMF and Aviary interface.+Cause: Permission error when attempting to retrieve the contents of a file using Aviary getJobData operation. +Consequence: User is unable to retrieve file through Aviary API whereby similar QMF version works. +Fix: Code modified to adjust file permissions earlier in getJobData implementation. +Result: User can retrieve file through QMF and Aviary interface. Successfully reproduced with: $CondorVersion: 7.6.3 Jul 27 2011 BuildID: RH-7.6.3-0.3.el5 $ $CondorPlatform: X86_64-RedHat_5.6 $ Not accessible using aviary if there is no group execute permission. Tested on:
$CondorVersion: 7.6.5 Oct 31 2011 BuildID: RH-7.6.5-0.5.el5 $
$CondorPlatform: I686-RedHat_5.7 $
$CondorVersion: 7.6.5 Oct 31 2011 BuildID: RH-7.6.5-0.5.el5 $
$CondorPlatform: X86_64-RedHat_5.7 $
$CondorVersion: 7.6.5 Oct 31 2011 BuildID: RH-7.6.5-0.5.el6 $
$CondorPlatform: I686-RedHat_6.1 $
$CondorVersion: 7.6.5 Oct 31 2011 BuildID: RH-7.6.5-0.5.el6 $
$CondorPlatform: X86_64-RedHat_6.1 $
Files are accessible using aviary without group execute permission on directory.
>>> VERIFIED
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1 @@ -Cause: Permission error when attempting to retrieve the contents of a file using Aviary getJobData operation. +When attempting to retrieve the contents of a file using the Aviary getJobData() function, a permission error occurred and the user was unable to finish the operation through the Aviary API even though it was possible to do via QMF (Qpid Management Framework). With this update, the getJobData() code has been modified to adjust file permissions earlier, and users can now retrieve files both through QMF and Aviary interfaces.-Consequence: User is unable to retrieve file through Aviary API whereby similar QMF version works. -Fix: Code modified to adjust file permissions earlier in getJobData implementation. -Result: User can retrieve file through QMF and Aviary interface. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-0045.html |