Hello,

Ludovic Courtès <l...@gnu.org> writes:

> So I’m tempted to just remove the check, but I’d rather have more
> eyeballs on this:
>
> diff --git a/src/core/nm-core-utils.c b/src/core/nm-core-utils.c
> index 895a991..738f8c7 100644
> --- a/src/core/nm-core-utils.c
> +++ b/src/core/nm-core-utils.c
> @@ -4319,14 +4319,6 @@ nm_utils_validate_plugin(const char *path, struct stat 
> *st, GError **error)
>          return FALSE;
>      }
>  
> -    if (st->st_uid != 0) {
> -        g_set_error_literal(error,
> -                            NM_UTILS_ERROR,
> -                            NM_UTILS_ERROR_UNKNOWN,
> -                            "file has invalid owner (should be root)");
> -        return FALSE;
> -    }

Any objections to this?

See <https://issues.guix.gnu.org/78047> for context.

Ludo’.

Reply via email to