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
parent
2acadfd360
commit
6b65b6024e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue