Project

General

Profile

Feature #40289

[radosgw] Add the rgw file settings of a upload object

Added by Kunyang Fan almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
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 radosgw 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 almost 5 years 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