This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit ffbc8e07e2e1c23b46d2f1b8ea5498ab8791f79e
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Nov 16 16:55:04 2026 +0100

    Documentation/tmpfs: Give the mode of the root directory.
    
    With CONFIG_FS_PERMISSION the root directory of a new tmpfs volume has
    the mode 01777.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 Documentation/os/filesystem/tmpfs.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/os/filesystem/tmpfs.rst 
b/Documentation/os/filesystem/tmpfs.rst
index b40e31d81b9..aff05e6ed5f 100644
--- a/Documentation/os/filesystem/tmpfs.rst
+++ b/Documentation/os/filesystem/tmpfs.rst
@@ -17,7 +17,8 @@ Permissions
 
 When ``CONFIG_FS_PERMISSION`` is enabled, tmpfs stores per-object owner, group,
 and mode and enforces them on path operations inside the volume.  It also
-implements the optional ``mountpt_operations.permission`` hook.
+implements the optional ``mountpt_operations.permission`` hook.  The root
+directory of a new volume has the mode 01777 (``drwxrwxrwt``).
 
 Access into the mount from the pseudoFS is gated by the VFS (parent and
 mountpoint ``X_OK``).  See :ref:`file-permission`.

Reply via email to