From bda75f7e90f1d092be87c6ab9a6f209ce5d45138 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 11 Jun 2005 07:46:50 +0000 Subject: r7488: update the mode in the struct too, that fixes the RAW-RENAME test metze (This used to be commit e27c1ab89b21726d3c9e7f8f7af22d1ff38f2413) --- source4/ntvfs/posix/pvfs_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') 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); -- cgit