-
Notifications
You must be signed in to change notification settings - Fork 184
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
Single files lose their file modes #148
Comments
Hi @mxey |
oras version:
OS: macOS 10.15.6 (19G2021) Start local Docker registry:
Prepare input files:
Check permissions with
Push and pull:
Check permissions with
As you can see, the file in the directory retained its permissions of 0400, but the other file did not. |
Noticed this as well. Is that expected @SteveLasker ? |
@deitch, @jdolitsky, @shizhMSFT can you help with some thoughts? |
Closing this issue due to inactivity. Please re-open if needed. |
When adding a directory to a FileStore, it creates a tarball, which means various file modes are stored and later restored on pull. But when adding a single file, the file modes are lost. This was quite confusing to me and IMO both should behave the same.
The text was updated successfully, but these errors were encountered: