ntfscp.c: libntfs-3g has added an additional argument to ntfs_create (le32 securid). We pass 0 as 'securid' as this is what should be passed when there is no inheritable security descriptor.

This can of course be discussed. Maybe we should inherit something? From parent? I don't know enough about this.
edge.strict_endians
Erik Larsson 2010-12-02 09:48:24 +01:00
parent 2acadfd360
commit 6b65b6024e
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ static ntfs_inode *ntfs_new_file(ntfs_inode *dir_ni,
filename);
return NULL;
}
ni = ntfs_create(dir_ni, ufilename, ufilename_len, S_IFREG);
ni = ntfs_create(dir_ni, 0, ufilename, ufilename_len, S_IFREG);
free(ufilename);
return ni;
}