Displaying 6 results from an estimated 6 matches for "mkdir_internal".
2018 Jun 14
2
No write access on new shares until smbd is restarted
...ix_mode(New folder) returning 0775
[2018/06/14 16:04:29.229560, 5]
../source3/smbd/open.c:319(check_parent_access)
check_parent_access: access check on directory . for path New folder for
mask 0x4 returned (0x4) NT_STATUS_ACCESS_DENIED
[2018/06/14 16:04:29.229578, 5] ../source3/smbd/open.c:3828(mkdir_internal)
mkdir_internal: check_parent_access on directory . for path New folder
returned NT_STATUS_ACCESS_DENIED
[2018/06/14 16:04:29.229587, 2] ../source3/smbd/open.c:3997(open_directory)
open_directory: unable to create New folder. Error was
NT_STATUS_ACCESS_DENIED
[2018/06/14 16:04:29.229601, 3]
....
2018 Jun 14
0
No write access on new shares until smbd is restarted
...rning 0775 [2018/06/14 16:04:29.229560, 5]
> ../source3/smbd/open.c:319(check_parent_access)
> check_parent_access: access check on directory . for path New
> folder for mask 0x4 returned (0x4) NT_STATUS_ACCESS_DENIED
> [2018/06/14 16:04:29.229578,
> 5] ../source3/smbd/open.c:3828(mkdir_internal) mkdir_internal:
> check_parent_access on directory . for path New folder returned
> NT_STATUS_ACCESS_DENIED [2018/06/14 16:04:29.229587,
> 2] ../source3/smbd/open.c:3997(open_directory) open_directory: unable
> to create New folder. Error was NT_STATUS_ACCESS_DENIED
> [2018/06/14 16...
2016 Mar 09
0
mkdir-dup test flapping
...t = false;
>
> if (is_ntfs_stream_smb_fname(smb_dname)) {
> DEBUG(2, ("open_directory: %s is a stream name!\n",
> @@ -3502,25 +3503,9 @@ static NTSTATUS open_directory(connection_struct *conn,
> return status;
> }
>
> - /*
> - * If mkdir_internal() returned
> - * NT_STATUS_OBJECT_NAME_COLLISION
> - * we still must lstat the path.
> - */
> -
> - if (SMB_VFS_LSTAT(conn, smb_dname)
> - == -1) {
> - DEBUG(2, ("Could not stat "
> - "directory '%s' just "
>...
2018 Jun 14
3
No write access on new shares until smbd is restarted
...:04:29.229560, 5]
> > ../source3/smbd/open.c:319(check_parent_access)
> > check_parent_access: access check on directory . for path New
> > folder for mask 0x4 returned (0x4) NT_STATUS_ACCESS_DENIED
> > [2018/06/14 16:04:29.229578,
> > 5] ../source3/smbd/open.c:3828(mkdir_internal) mkdir_internal:
> > check_parent_access on directory . for path New folder returned
> > NT_STATUS_ACCESS_DENIED [2018/06/14 16:04:29.229587,
> > 2] ../source3/smbd/open.c:3997(open_directory) open_directory: unable
> > to create New folder. Error was NT_STATUS_ACCESS_DENIED...
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
2010 Jan 22
4
write list for share is ignored
...me.c:unix_convert(440)
New file New Folder
[2010/01/21 14:27:21, 5] smbd/open.c:open_directory(2057)
open_directory: opening directory New Folder, access_mask = 0x100001,
share_access = 0x3 create_options = 0x1, create_disposition = 0x2,
file_attributes = 0x80
[2010/01/21 14:27:21, 5] smbd/open.c:mkdir_internal(1952)
mkdir_internal: failing create on read-only share cora
[2010/01/21 14:27:21, 2] smbd/open.c:open_directory(2092)
open_directory: unable to create New Folder. Error was
NT_STATUS_ACCESS_DENIED
[2010/01/21 14:27:21, 3] smbd/error.c:error_packet_set(106)
error packet at smbd/nttrans.c(805) cm...