Skip to content

Commit 77621fb

Browse files
FireBurnopsiff
authored andcommitted
ntsync: Set the permissions to be 0666
[ Upstream commit fa2e558 ] 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> [ Backport from v6.15 ] Signed-off-by: WangYuli <wangyuli@uniontech.com>
1 parent 6c17441 commit 77621fb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/misc/ntsync.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,7 @@ static struct miscdevice ntsync_misc = {
12101210
.minor = MISC_DYNAMIC_MINOR,
12111211
.name = NTSYNC_NAME,
12121212
.fops = &ntsync_fops,
1213+
.mode = 0666,
12131214
};
12141215

12151216
module_misc_device(ntsync_misc);

0 commit comments

Comments
 (0)