Skip to content

Conversation

@colemickens
Copy link
Member

No description provided.

Comment on lines 215 to 224
if !nix::unistd::Uid::effective().is_root() {
return Err(eyre!("`fh login` is attempting to update a file owned by root, please re-run the same command, prefixed with `sudo -i`."))
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still missing something, this outputs the backtrace message too, even though it's just un-Try'd in this function's caller.

@colemickens colemickens force-pushed the colemickens/uds-error-cleanup branch from bc1cb93 to 6d64a9b Compare August 5, 2024 19:56
@colemickens colemickens force-pushed the colemickens/uds-error-cleanup branch from 6d64a9b to 1780425 Compare August 5, 2024 20:01
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.

2 participants