Skip to content

Extended Attributes Support (SetXAttr, GetXAttr, ListXAttr) #2525

@bhawesh-khandelwal

Description

@bhawesh-khandelwal

Describe the issue
GCSFuse does not support set and get extend attributes posix operations (SetXAttr, GetXAttr, ListXAttr) and throws operation not supported error for these. This can be very useful for many use cases such as storing filesystem metadata, custom application data etc.

There had been another request raised for similar but slightly different use case where the ask was to copy the metadata in case it is available in the object to local.

The request here is to at least support the operations on extended attributes for the session. These attributes can be stored in the iNode and can be served from the iNode as well. This can be the starting point and later this functionality can be extended to pushing these attributes to the cloud as well.

System & Version (please complete the following information):

  • Ubuntu 20.04
  • GKE
  • Gcsfuse version: 2.4.2

Steps to reproduce the behavior with following information:

  1. Mount a gcs bucket using gcsfuse.
  2. Create a file in the mounted directory
  3. Perform SetXAttr operation on the created file.

Additional context
Attaching the error screenshot for reference:
Screenshot 2024-09-21 at 9 23 19 PM

SLO:
We strive to respond to all bug reports within 24 business hours provided the information mentioned above is included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestFeature request: request to add new features or functionalityp2P2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions