You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
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:
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.
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: