mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
(This used to be commit c7fe18761e
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
22268d7926
commit
af8a691db1
@ -430,7 +430,7 @@ int file_set_dosmode(connection_struct *conn, const char *fname, uint32 dosmode,
|
||||
if (!fsp)
|
||||
return -1;
|
||||
become_root();
|
||||
ret = SMB_VFS_FCHMOD(fsp, fsp->fd, unixmode);
|
||||
ret = SMB_VFS_FCHMOD(fsp, fsp->fh->fd, unixmode);
|
||||
unbecome_root();
|
||||
close_file_fchmod(fsp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user