Skip to content

entry: Add set_mode method#410

Open
kjughx wants to merge 1 commit intoalexcrichton:mainfrom
kjughx:entry-set-mode
Open

entry: Add set_mode method#410
kjughx wants to merge 1 commit intoalexcrichton:mainfrom
kjughx:entry-set-mode

Conversation

@kjughx
Copy link

@kjughx kjughx commented Jul 29, 2025

set_mask is useful but sometimes setting the exact mode is more precise.

Here: set_mode accepts a u32 for setting an explicit mode. By default the field is None so if not specified, the mode is unchanged, at least before the mask.

Q: I don't know windows, or really any non-unix, standards for permissions so I wasn't sure if this should be unix-only. What do you think?

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

Successfully merging this pull request may close these issues.

1 participant

Comments