Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion implants/golem/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fn main() -> anyhow::Result<()> {
});
}
}
// If we havent specified tomes in INPUT, we need to look through the asset locker for tomes to run
// If we haven't specified tomes in INPUT, we need to look through the asset locker for tomes to run
if parsed_tomes.is_empty() {
match locker.list() {
Ok(assets) => {
Expand Down
4 changes: 2 additions & 2 deletions tavern/tomes/file_tree/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ def can_read(f):
# Are we root?
root = usernfo["euid"]["uid"] == 0

# If the user isnt root and the user doesnt own the file, clear the user byte
# If the user isn't root and the user doesn't own the file, clear the user byte
if not root and f["owner"] not in (usernfo["euid"]["name"], usernfo["uid"]["name"]):
f_user = 0

# TODO: https://github.com/spellshift/realm/issues/570
# Will NOT match any group other than primary until #570 is fixed

# If the user isnt root and the group doesnt own the file, clear the group byte
# If the user isn't root and the group doesn't own the file, clear the group byte
if not root and f["group"] not in (str(usernfo["egid"]), str(usernfo["gid"])):
f_group = 0

Expand Down
Loading