Project

General

Profile

Support #40205

[librgw] Change the administrative metadata settings of a upload object

Added by Kunyang Fan 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
06/07/2019
Due date:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

When adding a file or new directory into Ceph RGW by using S3cmd. The file always occurs with permission 0666 and a directory with 0777 in the NFS-Ganesha side. Also the owner of file is always "root". How can RGW change this setting (File UID, GID and permission)? For example, use the command "radosgw-admin user" to modify this default setting of file permission.

History

#1 Updated by Kunyang Fan 3 months ago

Does anyone know how to embrace two Unix file attributes RGW_ATTR_UNIX_KEY1("unix-key1") and RGW_ATTR_UNIX1("unix1") when creating a new Bucket in radosgw? The purpose of this action is to add additional administrative info for a bucket. For example, creating a new bucket "bucket1" with Unix UID number 867, GID 5309 and unix file mode is 700.

Also available in: Atom PDF