Bug 831443 - RFE: The owner and permission of a file or a directory on GlusterFS should be controlled also via swift interface.
Summary: RFE: The owner and permission of a file or a directory on GlusterFS should be...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-swift
Version: unspecified
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Michael Adam
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 00:59 UTC by Keisuke TAKAHASHI
Modified: 2018-11-27 19:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-26 10:05:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Keisuke TAKAHASHI 2012-06-13 00:59:59 UTC
Description of problem:

On GlusterFS, the owner and permission of a directory or a file created via swift interface are fixed: each directory is to be "drwxr-xr-x root:root" and each file is to be "-rw------- root:root". So non-root users cannot access them and currently this is set as the default and fixed setting in the software.

Given the accessibility via GlusterFS as Unified File and Object Storage, however, swift interface should have an interface to control them.


Version-Release number of selected component (if applicable):
Red Hat Storage 2.0 beta 2


How reproducible:
Container creation or Object creation with the swift interface.


Steps to Reproduce:
1. curl -v -X PUT -H 'X-Auth-Token: AUTH_tkde3ad38b087b49bbbac0494f7600a554' https://example.storage.com:443/v1/AUTH_test/pictures -k
2. curl -v -X PUT -H 'X-Auth-Token: AUTH_tkde3ad38b087b49bbbac0494f7600a554' https://example.storage.com:443/v1/AUTH_test/pictures/dog -H 'Content-Length: 0' -k

  
Actual results:
[root@rhs20b2_001 AUTH_lv0]# ls -ld cntnr0
drwxr-xr-x 2 root root 12  6月 12 08:24 2012 cntnr0
[root@rhs20b2_001 AUTH_lv0]# ls -l cntnr0/obj0
drw------- 2 root root 12  6月 12 08:24 2012 obj0

Expected results:


Additional info:

Comment 2 Junaid 2012-06-26 10:18:06 UTC
Currently, we just create the files and directories as root, we can evaluate the ways to be more posix compliant.

Comment 8 Sahina Bose 2018-10-26 10:05:44 UTC
The UFO feature is not a priority usecase, and we will not be addressing enhancements related to this


Note You need to log in before you can comment on or make changes to this bug.