From: Mike Lothian Date: Fri, 14 Feb 2025 12:28:00 +0000 (+0000) Subject: ntsync: Set the permissions to be 0666 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=fa2e55811ae25020a5e9b23a8932e67e6d6261a4;p=linux-2.6-microblaze.git ntsync: Set the permissions to be 0666 This allows ntsync to be usuable by non-root processes out of the box Signed-off-by: Mike Lothian Reviewed-by: Elizabeth Figura Link: https://lore.kernel.org/r/20250214122759.2629-2-mike@fireburn.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/ntsync.c b/drivers/misc/ntsync.c index 055395cde42b..0b4e56d59b3d 100644 --- a/drivers/misc/ntsync.c +++ b/drivers/misc/ntsync.c @@ -1208,6 +1208,7 @@ static struct miscdevice ntsync_misc = { .minor = MISC_DYNAMIC_MINOR, .name = NTSYNC_NAME, .fops = &ntsync_fops, + .mode = 0666, }; module_misc_device(ntsync_misc);