By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: NTSYNC Driver Fix Being Worked On For Proper User Permissions
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > NTSYNC Driver Fix Being Worked On For Proper User Permissions
Computing

NTSYNC Driver Fix Being Worked On For Proper User Permissions

News Room
Last updated: 2025/02/15 at 11:10 AM
News Room Published 15 February 2025
Share
SHARE

One of the great new features of Linux 6.14 is the NTSYNC driver being completed for better emulating the Microsoft Windows NT synchronization primitives so that software like Wine and Proton (Steam Play) can provide for better performance when running Windows games on Linux. But it turns out an oversight up to now has meant that in practice it’s not really too usable out-of-the-box.

A permissions issue has led to the NTSYNC driver not exposing its /dev/ntsync char device being read/write to users by default. In turn NTSYNC out-of-the-box isn’t immediately usable unless manually changing the NTSYNC device permissions or having a udev script or similar for making the modification so non-root users can read/write to interact with this software device.

A pull request to systemd for udev was posted to add the NTSYNC device group and permissions. But that was discounted as something better for the upstream kernel. Questions were raised over it being world writable and readable, which should be fine due to this not being a real hardware device and for each file descriptor opened on the device only objects created by that instance may be used with other objects from that same instance.

An NTSYNC kernel driver patch was posted to the Linux kernel mailing list to set the /dev/ntsync device permissions to 0666 by default so it will work for non-root processes by default.

To which Greg Kroah-Hartman immediately commented:

“Are you sure you need/want that? If so, why? How did existing testing not ever catch this?”

In turn Elizabeth Figura commented:

“Hi, sorry, this is of course my fault.

We do need /dev/ntsync to be openable from user space for it to be useful. I’m not sure what the most “correct” permissions are to have in this case (when we don’t specifically need read or write), but I don’t think I see a reason not to just set to 666 or 444.

I originally assumed that the right way to do this was not to set the mode on the kernel file but rather through udev; I believe I was using the code for /dev/loop-control or /dev/fuse as an example, which both do that. So I (and others who tested) had just manually set up udev rules for this, with the eventual intent of adding a default rule to systemd like the others. I only recently realized that doing something like this patch is possible and precedented.

I don’t know what the best way to address this is, but this is certainly the simplest.”

In turn Greg is now open to accepting a signed off patch making this default change to the NTSYNC driver. So if all goes well likely in the coming days we’ll see the NTSYNC driver adapted in Linux 6.14 Git for the more open read/write permissions by default so that it will be usable out-of-the-box for Linux gamers.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article YouTube Shorts is getting a tool for adding AI-generated video to your posts
Next Article Vision Pro apps: the good, the bad, and the ridiculous
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Experts call Kennedy’s plan to find autism’s cause unrealistic
News
Robby Starbuck calls Meta apology 'sort of bizarre' amid defamation lawsuit
News
AI training gap puts Europe at a disadvantage | Computer Weekly
News
Oppo Find N5 to integrate DeepSeek-R1 for direct voice interaction · TechNode
Computing

You Might also Like

Computing

Oppo Find N5 to integrate DeepSeek-R1 for direct voice interaction · TechNode

1 Min Read
Computing

Shareholders of China’s state-owned automakers Changan and Dongfeng mull restructuring · TechNode

1 Min Read
Computing

Elon Musk comments on China’s DeepSeek at WELT summit · TechNode

1 Min Read
Computing

How to Create a Database in Access? |

21 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?