This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Meaning of change-file-permissions-at? #37
Comments
The official document for this function is here. It is admittedly vague, so I filed WebAssembly/wasi-filesystem#74 about documenting it. When I proposed this function, I was unsure about whether it would make sense to support anything other than global permissions, since WASI has no concept of a "user", however thinking through it now, I think there is a way in which it makes sense. We should document that the actual protection provided may vary widely, including offering no protection at all on some host/filesystems, but nevertheless, the feature may be useful. I filed WebAssembly/wasi-filesystem#75 to track this. |
Closing in favor of WebAssembly/wasi-filesystem#75. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What is the meaning of change-file-permissions-at? Does it only affect the permissions for the owner, or for everyone? If the later could you add a method to at least allow revoking read permission for everyone other than the file owner? That is pretty important for sensitive data like private keys.
The text was updated successfully, but these errors were encountered: