Displaying 7 results from an estimated 7 matches for "nt_status_not_a_directory".
2007 Apr 24
1
Re: Re: Symlinks deletion behaviour
...for name [MY_TEST_LINK] -> [my_test_link]
[2007/04/24 09:52:43, 3] smbd/reply.c:rmdir_internals(3947)
rmdir_internals: couldn't remove directory my_test_link : Not a directory
[2007/04/24 09:52:43, 3] smbd/error.c:error_packet_set(106)
error packet at smbd/reply.c(4001) cmd=1 (SMBrmdir) NT_STATUS_NOT_A_DIRECTORY
Test setup is my_test_link -> my_test. There is a number of files/dirs in my_test. They are deleted, but not my_test_link. At the same time I can delete my_test without any problems.
If you wish I can provide you with additional info like strace output or something.
Regards,
Alexander
>...
2007 Mar 18
1
Symlinks deletion behaviour
..._internals: couldn't remove directory test/my_dir_link : Not a directory
[2007/03/18 23:50:42, 3] smbd/error.c:unix_error_packet(91)
unix_error_packet: error string = Not a directory
[2007/03/18 23:50:42, 3] smbd/error.c:error_packet(147)
error packet at smbd/trans2.c(2592) cmd=1 (SMBrmdir) NT_STATUS_NOT_A_DIRECTORY
Share is defined as follows:
[Test.Share]
path = /share
force user = myuser
force group = mygroup
read only = No
strict allocate = Yes
printable = no
follow symlinks = Yes
wide links = Yes
So, is it an expected behaviour, bug or som...
2016 Mar 09
0
mkdir-dup test flapping
...@@ 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 directory !\n",
> - smb_fname_str_dbg(smb_dname)));
> - return NT_STATUS_NOT_A_DIRECTORY;
> - }
> -
> if (info == FILE_WAS_OPENED) {
> status = smbd_check_access_rights(conn,
> - smb_dname,
> - false,
> - access_mask);
> + smb_dname,
> + false,
> + access_mask);
> if (!NT_STATUS_IS_OK(status)) {
> DEBUG...
2002 May 09
2
Trouble with banking software on Samba share
...2002/05/08 16:33:59, 5] smbd/files.c:file_free(338)
freed files structure 13810 (8 used)
[2002/05/08 16:33:59, 3] smbd/error.c:error_packet(91)
error string = Not a directory
[2002/05/08 16:33:59, 3] smbd/error.c:error_packet(106)
error packet at smbd/nttrans.c(870) cmd=162 (SMBntcreateX)
NT_STATUS_NOT_A_DIRECTORY
So Samba thinks, and rightly so, that the \2 at the end is a directory
name. Only a virus like Microsoft Windows could understand
\ITI\PREMIER\PRM1101.EXE\2 as a file name with a \2 as some sort of command
line parameter.
I've tried so many things I can't remember them all. I've...
2023 Nov 26
0
On macOS: Shares appear empty, only directories (no files)?
...: No
such file or directory read_symlink_reparse: readlink_talloc failed:
NT_STATUS_OBJECT_NAME_NOT_FOUND openat_pathref_fsp_nosymlink:
create_open_symlink_err failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
file_free: freed files structure 0 (1 used) smbd_dirptr_get_entry: Could
not open dummy-1.pdf: NT_STATUS_NOT_A_DIRECTORY smbd_dirptr_get_entry:
dir [.] dirptr [0x131e123c0] offset [3] => dname [(finished)]
smbd_smb2_request_find_done: out_output_buffer.length = 220 |
My full report is at [2].
I'd appreciate your hints!
Thx! Stefan
[1] https://gist.github.com/erkserkserks/0d48f75e1a36bc9e1ccdc3e1428efba0...
2002 Jul 14
0
Samba question - File or
...(159)
Error opening file DIR1/DIR2/PROGRAM.EXE/2 (Not a directory) (local_flags=0)
(flags=0)
[2002/07/15 14:40:33, 3] smbd/error.c:error_packet(91)
error string = Not a directory
[2002/07/15 14:40:33, 3] smbd/error.c:error_packet(103)
error packet at smbd/nttrans.c(883) cmd=162 (SMBntcreateX)
NT_STATUS_NOT_A_DIRECTORY
[2002/07/10 12:48:15, 3] smbd/process.c:process_smb(860)
Transaction 10919 of length 146
[2002/07/10 12:48:15, 3] smbd/process.c:switch_message(667)
switch message SMBntcreateX (pid 23268)
[2002/07/10 12:48:15, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [/DIR3:Docf_^EPebiesnrMkudrfco...
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