Skip to content

cannot be to add executable permissions for files using chmod #144

@hhwode

Description

@hhwode

The PVC created by jindoruntime cannot be mounted to add executable permissions for files using chmod +x. Neither chmod nor chown commands work. Do I need to configure additional parameters?
dataset.yaml

apiVersion: data.fluid.io/v1alpha1
kind: Dataset
metadata:
  name: train-dataset
spec:
  accessModes:
  - ReadWriteMany
  mounts:
  - encryptOptions:
    - name: fs.oss.accessKeyId
      valueFrom:
        secretKeyRef:
          key: fs.oss.accessKeyId
          name: training
    - name: fs.oss.accessKeySecret
      valueFrom:
        secretKeyRef:
          key: fs.oss.accessKeySecret
          name: training
    mountPoint: oss://training/
    options:
      fs.oss.endpoint: xx.aliyuncs.com

jindoruntime.yaml

apiVersion: data.fluid.io/v1alpha1
kind: JindoRuntime
metadata:
  name: train-dataset
spec:
  cleanCachePolicy:
    gracePeriodSeconds: 60
    maxRetryAttempts: 3
  fuse:
    args:
    - -oattr_timeout=60
  replicas: 1
  tieredstore:
    levels:
    - low: "0.1"
      mediumtype: SSD
      path: /cache
      quota: "4096"
      volumeSource: {}
      volumeType: hostPath
  worker:
    podMetadata: {}
    resources: {}

when execute chmod +x util, file attr not change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions