RT-Thread / rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS).
https://www.rt-thread.io
Apache License 2.0
10.37k stars 4.99k forks source link

fixup: dfs_v2: correct device mode permissions in devfs #9449

Closed polarvid closed 2 weeks ago

polarvid commented 2 weeks ago

拉取/合并请求描述:(PR description)

[

为什么提交这份PR (why to submit this PR)

The mode permissions for character, block, and pipe devices were previously set to 0777, which is overly permissive and not in line with standard practice (😂 User would never want to execute their device in daily life). This change reduces the permissions to 0666, restricting execute permissions while still allowing read/write access.

你的解决方案是什么 (what is your solution)

Changes:

请提供验证的bsp和config (provide the config and bsp)

]

当前拉取/合并请求的状态 Intent for your PR

必须选择一项 Choose one (Mandatory):

代码质量 Code Quality:

我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following: