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:
Currently, we just create the files and directories as root, we can evaluate the ways to be more posix compliant.
The UFO feature is not a priority usecase, and we will not be addressing enhancements related to this