[librgw] Change the administrative metadata settings of a upload object
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.
#1 Updated by Kunyang Fan 8 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.