diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ntvfs/posix/pvfs_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_util.c b/source4/ntvfs/posix/pvfs_util.c index 7eedc38cf9..d716834fed 100644 --- a/source4/ntvfs/posix/pvfs_util.c +++ b/source4/ntvfs/posix/pvfs_util.c @@ -149,7 +149,8 @@ NTSTATUS pvfs_copy_file(struct pvfs_state *pvfs, unlink(name2->full_name); return status; } - + + name2->st.st_mode = mode; name2->dos = name1->dos; status = pvfs_dosattrib_save(pvfs, name2, fd2); |