Skip to content

Commit fa2e558

Browse files
FireBurngregkh
authored andcommitted
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 <mike@fireburn.co.uk> Reviewed-by: Elizabeth Figura <zfigura@codeweavers.com> Link: https://lore.kernel.org/r/20250214122759.2629-2-mike@fireburn.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent fdb1ada commit fa2e558

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/misc/ntsync.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,7 @@ static struct miscdevice ntsync_misc = {
12081208
.minor = MISC_DYNAMIC_MINOR,
12091209
.name = NTSYNC_NAME,
12101210
.fops = &ntsync_fops,
1211+
.mode = 0666,
12111212
};
12121213

12131214
module_misc_device(ntsync_misc);

0 commit comments

Comments
 (0)