From 6b65b6024e66fe7f4484473b645da9e6504dbc47 Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Thu, 2 Dec 2010 09:48:24 +0100 Subject: [PATCH] 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. --- ntfsprogs/ntfscp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntfsprogs/ntfscp.c b/ntfsprogs/ntfscp.c index f6090f25..f5abc528 100644 --- a/ntfsprogs/ntfscp.c +++ b/ntfsprogs/ntfscp.c @@ -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; }