Bug 927396

Summary: GlusterFileSystem.getFileStatus() hardcodes each file and directory owner as "root"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Steve Watt <swatt>
Component: rhs-hadoopAssignee: Jay Vyas <jvyas>
Status: CLOSED DUPLICATE QA Contact: hcfs-gluster-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: aavati, matt, rhs-bugs, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-25 22:03:14 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:
Embargoed:

Description Steve Watt 2013-03-25 20:11:17 UTC
Description of problem:

GlusterFileSystem.getFileStatus() hardcodes each file and directory owner as root. Instead, it should accurately reflect which user owns that file. Hard-coding this to root is going to cause issues for multi-user scenarios where each owner have access to their directories and files. 

This bug is really part of a larger issue in that we need to enable authentication and security within the plugin.

Comment 2 Jay Vyas 2013-03-25 22:03:14 UTC
This is related to the now completed fix for: https://bugzilla.redhat.com/show_bug.cgi?id=908898 which implements a proper "getOwner()" API using underlying filesystem

https://bugzilla.redhat.com/show_bug.cgi?id=908898

*** This bug has been marked as a duplicate of bug 908898 ***