datavane / datasophon

The next generation of cloud-native big data management expert , Aims to help users rapidly build stable, efficient, and scalable cloud-native platforms for big data.
https://datasophon.github.io/datasophon-website/
Apache License 2.0
1.11k stars 387 forks source link

[Refactor] File authorization is implemented using java class library #209

Open Zzm0809 opened 1 year ago

Zzm0809 commented 1 year ago

Search before asking

Description

File authorization is implemented using java class library

文件授权使用java类库实现 而非使用 shell: chmod

eg: com/datasophon/worker/handler/InstallServiceHandler.java:97 image

Suggested implementation: java.nio.file.attribute.PositixFilePermission

建议使用:java.nio.file.attribute.PosixFilePermission 实现

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

datasophon commented 1 year ago

Can you contribute it?