Kernel/SysFS: Fix bizarre mode bits for directories in SysFS
Not sure what led to 0445 being used here, but let's use 0755.
This commit is contained in:
parent
7edc69dc94
commit
34ae39478a
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/34ae39478a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ InodeMetadata SysFSDirectoryInode::metadata() const
|
|||
// NOTE: No locking required as m_associated_component or its component index will never change during our lifetime.
|
||||
InodeMetadata metadata;
|
||||
metadata.inode = { fsid(), m_associated_component->component_index() };
|
||||
metadata.mode = S_IFDIR | S_IRUSR | S_IRGRP | S_IROTH | S_IXOTH;
|
||||
metadata.mode = S_IFDIR | 0755;
|
||||
metadata.uid = 0;
|
||||
metadata.gid = 0;
|
||||
metadata.size = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue