mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Fixed an error in creating initial non-inherited security descriptor
This commit is contained in:
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
Block a user