Fixed an error in creating initial non-inherited security descriptor
parent
49d6dabbab
commit
a774c2437d
|
@ -1096,7 +1096,7 @@ static ntfs_inode *__ntfs_create(ntfs_inode *dir_ni, le32 securid,
|
|||
goto err_out;
|
||||
}
|
||||
|
||||
if (securid) {
|
||||
if (!securid) {
|
||||
if (ntfs_sd_add_everyone(ni)) {
|
||||
err = errno;
|
||||
goto err_out;
|
||||
|
|
Loading…
Reference in New Issue