1
0
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:
Jeremy Allison
2005-07-08 04:51:27 +00:00
committed by Gerald (Jerry) Carter
parent 22268d7926
commit af8a691db1
35 changed files with 2573 additions and 1971 deletions

View File

@ -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);
}