mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix kramfs not initializing the owner of new directories.
This commit is contained in:
parent
8337947058
commit
be02a7996b
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ Dir::Dir(dev_t dev, ino_t ino, uid_t owner, gid_t group, mode_t mode)
|
|||
if ( !ino )
|
||||
ino = (ino_t) this;
|
||||
dir_lock = KTHREAD_MUTEX_INITIALIZER;
|
||||
this->stat_gid = owner;
|
||||
this->stat_uid = owner;
|
||||
this->stat_gid = group;
|
||||
this->type = S_IFDIR;
|
||||
this->stat_mode = (mode & S_SETABLE) | this->type;
|
||||
|
|
Loading…
Add table
Reference in a new issue