Fixed an error in creating initial non-inherited security descriptor

N2009_11_14_FIXES
jpandre 2007-09-28 06:53:42 +00:00
parent 49d6dabbab
commit a774c2437d
1 changed files with 1 additions and 1 deletions

View File

@ -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;