AW: [Samba] Unable to delete folders in samba shares

Radio Gong 2000 GmbH & Co. KG [Technik] sascha.bieler at radiogong.de
Wed Apr 7 21:02:33 GMT 2004


What u wrote here:

>>once again this folder stdc++.txt does exist....

...reminds me on having charset problems with samba, doing the same stuff
here until I set up the right charsets.

Also, u see in logfile:

>>call_trans2qfilepathinfo: vfs_stat of New Folder2231113/.directory failed
>>(No such file or directory)

And u say:

>>but this directory NewFolder2231113 does exist in folder kumar


But there a difference, you see in folder: NewFolder2231113 and in logfile
it's named New Folder2231113, there is a space between.

Regards

Sascha

P.S.: Awaiting th answers of rruger...


-----Ursprüngliche Nachricht-----
Von: mlist at linux-house.net [mailto:mlist at linux-house.net]
Gesendet: Mittwoch, 7. April 2004 18:08
An: Radio Gong 2000 GmbH & Co. KG [Technik]
Cc: samba at lists.samba.org
Betreff: Re: [Samba] Unable to delete folders in samba shares


>On Wednesday 07 April 2004 18:15, Radio Gong 2000 GmbH & Co. KG [Technik]
wrote:
> I forgot the whole time. Please tail ur logfiles and maybe do log level =
> 10 in the globals-section.
>

Sascha,

here are the logs ( plus the smb.conf) . i deleted all the old logs and am
starting afresh/new. log level =10

A.service smb start created log.smbd and log nmbd
B.i am using a notebook  of name "kumarnec". logging in as user "kumar" via
smb4k. mounting folders maindump  and kumar... log.kumarnec created

C. from log.kumarnec, uid 500=kumar and gid=106=nobody and gid =500
confirmed
by /etc/passwd and /etc/group

D.i create a file in folder kumar called TextFile987.

things which are suspicious are ; from log.kumarnec


[2004/04/07 23:29:52, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [New Folder2231113/.directory]
[2004/04/07 23:29:52, 3] smbd/trans2.c:call_trans2qfilepathinfo(1719)
  call_trans2qfilepathinfo: vfs_stat of New Folder2231113/.directory failed
(No such file or directory)

but this directory NewFolder2231113 does exist in folder kumar


E. i create a folder testdrive in folder maindump

things which are suspicious in log.kumarnec are;

[2004/04/07 23:41:04, 5] smbd/filename.c:unix_convert(120)
  unix_convert called on file "\Razidan\.directory"
[2004/04/07 23:41:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/Razidan/.directory]
[2004/04/07 23:41:04, 5] smbd/mangle_hash.c:is_8_3(368)
  Checking .directory for 8.3
[2004/04/07 23:41:04, 5] smbd/filename.c:unix_convert(194)
  unix_convert begin: name = Razidan/.directory, dirpath = Razidan, start
= .directory
[2004/04/07 23:41:04, 10] smbd/mangle_hash.c:is_mangled(317)
  is_mangled: .directory : False
[2004/04/07 23:41:04, 10] smbd/mangle_hash.c:is_mangled(317)
  is_mangled: .directory : False
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145)
  is_in_path: SN-Mandrake Installation (Fresh Install).sxw
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150)
  is_in_path: no name list.
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145)
  is_in_path: TG - Windows Internet Connectivity restoration.sxw
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150)
  is_in_path: no name list.
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145)
  is_in_path: SN-Mandrake Installation (Dual Boot).sxw
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150)
  is_in_path: no name list.
[2004/04/07 23:41:04, 10] smbd/mangle_hash.c:is_mangled(317)
  is_mangled: .directory : False
[2004/04/07 23:41:04, 5] smbd/filename.c:unix_convert(319)
  New file .directory
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145)
  is_in_path: Razidan/.directory
[2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150)
  is_in_path: no name list.
[2004/04/07 23:41:04, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [Razidan/.directory]
[2004/04/07 23:41:04, 3] smbd/trans2.c:call_trans2qfilepathinfo(1719)
  call_trans2qfilepathinfo: vfs_stat of Razidan/.directory failed (No such
file or directory)
[2004/04/07 23:41:04, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory


once again this folder Razidan does exist...

  is_in_path: no name list.
[2004/04/07 23:46:43, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [stdc++.txt/.directory]
[2004/04/07 23:46:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(1719)
  call_trans2qfilepathinfo: vfs_stat of stdc++.txt/.directory failed (No
such
file or directory)
[2004/04/07 23:46:43, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory

once again this folder stdc++.txt does exist....


F. the funny thing is the amount of log lines generated for these 2
transactions ( D and E )

log.smbd = about 700 lines
log.nmbd = about 9000 lines
log.kumarnec = about 6000 lines

G. anyway i am attaching the log files here. i do really hope you can help
me.
thanx for your time.



More information about the samba mailing list