Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor *nix umask when downloading files to local machine #8

Open
ruixingw opened this issue Dec 20, 2021 · 0 comments
Open

Honor *nix umask when downloading files to local machine #8

ruixingw opened this issue Dec 20, 2021 · 0 comments

Comments

@ruixingw
Copy link

ruixingw commented Dec 20, 2021

Under macOS or Linux, files downloaded to local machine by coscli cp or coscli sync always have 640 permission.

I understand that the Cloud Object Storage doesn't store *nix file permission, so coscli has to assign one when downloading files to *nix systems. However, I think it is better to honor umask instead of hardcoding a 640 permission.

By the default umask 0022, files downloaded by coscli would have 755 permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant