Fixed an error in creating initial non-inherited security descriptor

This commit is contained in:
jpandre 2007-09-28 06:53:42 +00:00
parent 49d6dabbab
commit a774c2437d

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;