search for: file_was_opened

Displaying 4 results from an estimated 4 matches for "file_was_opened".

2009 May 18
0
Re: [smbd][PATCH] Writing EAs when overriding files
...usually the OS/2 file system API is nearly a 1:1 image of the > LANMAN2 protocol. > > > The relating code is in open.c in the function create_file (samba 3.2) > > - if ((ea_list != NULL) && (info == FILE_WAS_CREATED)) { > + if ((ea_list != NULL) && (info != FILE_WAS_OPENED)) { > status = set_ea(conn, fsp, fname, ea_list); > if (!NT_STATUS_IS_OK(status)) { > goto fail; > } > } > > > The same applies to samba 3.0. But the related code is located in > trans2.c in this case. > > - if (total_data && smb_action == FILE...
2016 Mar 09
0
mkdir-dup test flapping
...ot;directory '%s' just " > - "opened: %s\n", > - smb_fname_str_dbg( > - smb_dname), > - strerror(errno))); > - return map_nt_error_from_unix( > - errno); > - } > - > + need_lstat = true; > info = FILE_WAS_OPENED; > + > } > } > > @@ -3537,26 +3522,20 @@ static NTSTATUS open_directory(connection_struct *conn, > return NT_STATUS_INVALID_PARAMETER; > } > > - if(!S_ISDIR(smb_dname->st.st_ex_mode)) { > - DEBUG(5,("open_directory: %s is not a director...
2016 Mar 09
4
mkdir-dup test flapping
We looked at this some more, and Andrew seemed to understand and wrote the attached patch. > > We got the logs by forcing smbd to run with -d10 by patching > file_server/fileserver.c. The issue appears to be in this call: 3638 /* Ensure there was no race condition. */ 3639 if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) { 3640
2009 Jan 30
5
ACLs under Samba 3.3.0
Is behavior of ACLs under Samba 3.3.0 (Sernet) completely different from that under version 3.2.7? The release notes only talks about some "fixes". I installed version 3.3.0 and got completely different result with the same filesystem and the exact same samba configuration. The ACLs behaved strangely and appeared very different under Windows ACL editor. Users were now unable to