Fix a few typos
All checks were successful
Build and test / check-license (push) Successful in 1m4s
Build and test / check (push) Successful in 2m51s
Build and test / build (push) Successful in 2m54s
Build and test / test (push) Successful in 3m45s
Build and test / docs (push) Successful in 8m58s

This commit is contained in:
2026-01-12 15:35:21 +09:00
parent ef42272087
commit 09e7a22f24
6 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
# These are the default system groups on debian.
# You can alos add groups by gid by prefixing the line with 'gid:'.
# You can also add groups by gid by prefixing the line with 'gid:'.
group:_ssh
group:adm

View File

@@ -4,8 +4,8 @@
> This will be deprecated in a future release, see https://git.pvv.ntnu.no/Projects/muscl/issues/101
>
> We do not recommend you use this mode unless you absolutely have to. The biggest reason why `muscl` was rewritten from scratch
> was to fix an architectural issue that easily caused vulnerabilites due to reliance on SUID/SGID. Althought the architecture now
> is more resistant against such vulnerabilites, it is not failsafe.
> was to fix an architectural issue that easily caused vulnerabilities due to reliance on SUID/SGID. Although the architecture now
> is more resistant against such vulnerabilities, it is not failsafe.
For backwards compatibility reasons, it is possible to run the program without a daemon by utilizing SUID/SGID.

View File

@@ -376,7 +376,7 @@ fn handle_mysql_admutils_command() -> anyhow::Result<Option<()>> {
}
}
/// Run the given commmand (from the client side) using Tokio.
/// Run the given command (from the client side) using Tokio.
fn tokio_run_command(
command: ClientCommand,
server_connection: StdUnixStream,

View File

@@ -35,7 +35,7 @@ spawn the editor stored in the $EDITOR environment variable.
(pico will be used if the variable is unset)
The file should contain one line per user, starting with the
username and followed by ten Y/N-values seperated by whitespace.
username and followed by ten Y/N-values separated by whitespace.
Lines starting with # are ignored.
The Y/N-values corresponds to the following mysql privileges:

View File

@@ -100,7 +100,7 @@ impl UnixUser {
})
}
// pub fn from_enviroment() -> anyhow::Result<Self> {
// pub fn from_environment() -> anyhow::Result<Self> {
// let libc_uid = nix::unistd::getuid();
// UnixUser::from_uid(libc_uid.as_raw())
// }

View File

@@ -140,7 +140,7 @@ impl Supervisor {
let (tx, rx) = broadcast::channel(1);
// TODO: try to detech systemd socket before using the provided socket path
// TODO: try to detect systemd socket before using the provided socket path
#[cfg(target_os = "linux")]
let listener = Arc::new(RwLock::new(match config.socket_path {
Some(ref path) => create_unix_listener_with_socket_path(path.clone()).await?,