Jose,
Thanks for that recommendation.  Renaming of tmp was what I was doing
before I discovered the robocopy option to copy an empty folder over tmp.
The problem with your del /q is that it won't work with these crazy long
filenames with crazy long folder names, so we'd need to do it for each
folder, and there's hundreds of files with dozens of folders.

Thomas,
Candidly, I don't know what's extracting these files.  I'll play with
the maxArcNameLength
option.


Fortunately, the files seem to have stopped for now, but I suspect they'll
be back.

On Wed, Sep 27, 2017 at 8:48 PM, Jose A. Dias <jose.d...@diaslan.net> wrote:

> Try this:
>
>
>
> Shutdown ASSP, then;
>
> Move c:\assp\tmp c:\tmp.bad
>
> Mkdir c:\assp\tmp
>
> Start ASSP. You’re in business for now. Later on you can:
>
>
>
> At your earliest convenience, ie: when restarting the server, chkdsk /f c:
> . On next restart rd /s c:\tmp.bad .
>
>
>
> If that does not work, then:
>
>
>
> Cd c:\tmp.bad
>
> Dir /x
>
> Del /q “short name from above”
>
>
>
> After the bad folder is removed, I’d run another chkdsk /f c: just to make
> sure nothing is left unaccounted for.
>
>
>
> ASSP will still have to deal with the funky filenames.
>
>
>
> Good luck.
>
>
>
> --
>
> Jose Dias
>
> jose "dot" dias "at" DiasLan "dot" net
> ------------------------------
>
> *From:* K Post [mailto:nntp.p...@gmail.com]
> *Sent:* Tuesday, September 26, 2017 11:40 PM
> *To:* ASSP development mailing list
> *Subject:* Re: [Assp-test] Long filenames inside zip causing SEGV from
> unicode/dir/pm
>
>
>
> and FYI, for you windows folks, I remembered how to get rid of crazy long
> paths (more than 260 characters)
>
>
>
> 1) Create a new empty folder somewhere.  Say c:\EmptyFolder
>
> 2) Launch command shell and do:
>
>
>
> robocopy c:\EmptyFolder c:\FolderYouWantToEmptyOut /purge
>
>
>
> This will copy the contents of EmptyFolder (nothing) to the folder you
> want to empty out and REMOVE all other files and folders because of the
> /purge switch.
>
>
>
> This doesn't solve the problem when ASSP extracts bad zips with these long
> filenames, but it gives us a temporary way, albeit a manual one, to remove
> the info from NTFS partitions until there's a fix or other method to stop
> this from happening (like telling me what config switch I have set wrong in
> ASSP).
>
>
>
>
>
>
>
> On Tue, Sep 26, 2017 at 11:23 PM, K Post <nntp.p...@gmail.com> wrote:
>
> sorry, this is with 17244
>
>
>
> On Tue, Sep 26, 2017 at 11:22 PM, K Post <nntp.p...@gmail.com> wrote:
>
> I'm getting errors like:
>
>
>
> Sep-26-17 23:00:19 Warning: got unexpected signal SEGV in Worker_1:
> package - Win32::Unicode::Dir, file - 
> c:/strawberry/perl/site/lib/Win32/Unicode/Dir.pm,
> line - 80!
>
> Sep-26-17 23:00:29 Warning: try to terminate inactive/stuck Worker_1
>
> Sep-26-17 23:00:29 msg81131-14259 202.79.16.19 <spam...@outsidedomain.com>
> to: ouru...@domain.org error: unable to parse message for attachments -
> TERMINATED - possibly by MainThread on detected stuck - in package - main,
> file - c:\assp\assp.pl, line - 65368.
>
>
>
> It looks like we're getting slammed with attachments that contains java in
> zips.
>
>
>
>  If I look in c:/assp/tmp I see folders like zip_2_1506481037
>
>
>
> If I try to delete the zip file, windows throws a warning that some
> filenames are too long for the recycle bin and that I'll need to delete
> permanently.  if I say okay to that, the files still don't delete.  If I
> try shift-deleting (permanent delete from the start), after confirming, I
> get "The source file name(s)are larger than is supported by the file
> system.  Try moving to a location which has a shorter path name, or try
> renaming to shorter name(s) before attempting this operation."
>
>
>
> I also tried deleting from the command prompt, using rmdi /s and get:
>
>
>
> c:\assp\tmp>rmdir /S zip_1_1506481039
>
> zip_1_1506481039, Are you sure (Y/N)? y
>
> zip_1_1506481039\.10\EcarOcuhAyucu\UfirIcehUyucu\UliroCahayo
> ci\1152huu1od1ip9lln
>
> 2jel652vmqjojmggm16v37h5bsqfflen\ht1c8p19t61g5dl4as44uasaif6
> ib3l5iog39akos3hootq
>
> l6hklu7\94df36g2uliulse16f3qv7emo3r2stta4fmldjg35movenhlt9b4
> jn4jjqso5uhfakf12isg
>
> 4dpdultgot - The system cannot find the path specified.
>
>
>
> I'm sure I can get these deleted using another tool, but I'm wondering
> what we can do with ASSP to prevent this from happening again.  If a zip
> has crazy long folder or file names, I say we reject it.  The question
> becomes if ASSP can somehow determine that without first saving the
> extracted data to tmp (And thereby making it hard to delete).
>
>
>
> Suggestions?
>
>
>
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to