<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[scoped_dir folders in downloads directory]]></title><description><![CDATA[<p dir="auto">Hello, at opening downloaded application from opera created scoped_dir_* folder and keep alive afer execution. As result a lot of folders in downloads directory. Google didn't help. Any ideas?</p>
]]></description><link>https://forums.opera.com/topic/15301/scoped_dir-folders-in-downloads-directory</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 23:52:08 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/15301.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 May 2016 10:48:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Thu, 13 Dec 2018 13:02:35 GMT]]></title><description><![CDATA[<p dir="auto">I came across this thread while looking for a solution to the exact problem mentioned by the original poster and some comment posters.</p>
<p dir="auto">The problem started occurring with fresh install of Opera for "the current user only" and I have been seeing "scoped_dir*" folders being created for "*.exe" files downloaded via Opera.</p>
<p dir="auto">I have found a solution for myself while reading a comment by Moderator, <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/73">@leocg</a>, who asked whether the problem persists regardless of "which directory (a person) save the file"; and I have went to the settings, then searched for "download", then clicked on "Change" button for an item titled "Location under "Downloads", then selected the Download folder from a popup window titled "Browse for folder" by navigating to the path that reads "(drive):\Users(username)" instead of navigating to the path that reads "(username)\Downloads".</p>
<p dir="auto">I do not know how Windows or Opera is coded to cause such a problem, as I am an average user with a little more knowledge for computers than people around me, but "<em>.exe" files I downloaded have gone to the Downloads folder without creating "scoped_dir</em>" folders after taking actions in the previous paragraph.  I hope this helps to fix problems for others.</p>
]]></description><link>https://forums.opera.com/post/160834</link><guid isPermaLink="true">https://forums.opera.com/post/160834</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 13 Dec 2018 13:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 17 Nov 2018 02:17:59 GMT]]></title><description><![CDATA[<p dir="auto">Same here (11/17/2018)</p>
<p dir="auto">56.0.3051.104  Stable<br />
Windows 10 64bit</p>
]]></description><link>https://forums.opera.com/post/159010</link><guid isPermaLink="true">https://forums.opera.com/post/159010</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sat, 17 Nov 2018 02:17:59 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 06 Oct 2018 19:33:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/207040">@privatadata</a></p>
<p dir="auto">The current workaround is to make sure your downloads folder is on the same drive as your temp folder. For example, if your temp folder is at "C:\Users\yourusername\AppData\Local\temp", your downloads folder needs to be on C: also. Then, those scoped directores will be created in the temp folder instead.</p>
<p dir="auto">Another workaround is to have the drive your downloads folder is on formatted as FAT32 instead of NTFS.</p>
<p dir="auto">Another workaround <em>might</em> (depends on how the feature is coded) be to set your temp folder to be on the same drive as your downloads folder. For example, if your downloads folder is at F:\downloads, your temp folder needs to be set to f:\temp for example. However, before you can do that, you need to figure out how Opera determines the temp folder path. If it just uses the TEMP or TMP environment variables, you can modify those. However, if it uses USERNAME or USERPROFILE or APPDATA or LOCALAPPDATA or HOMEPATH as a base of the temp path, you would have to move your whole windows user profile to F:\Users\yourusername for example. That'd be a mess. If Opera uses HOMEDRIVE or SYSTEMROOT as a base, you're probably SOL.</p>
<p dir="auto">However, if you can figure out why Opera is not cleaning up the scoped folders for you when it closes, maybe you'll have another workaround. Haven't checked in a while, but Opera cleans them up for me.</p>
<p dir="auto">For example,:</p>
<blockquote>
<p dir="auto">On a side, I did notice that if you close Opera while a scoped directory it created is in use (because the installer is still open in the directory), Opera won't delete it, obviously. So, that's another situation to avoid.</p>
</blockquote>
]]></description><link>https://forums.opera.com/post/156439</link><guid isPermaLink="true">https://forums.opera.com/post/156439</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Sat, 06 Oct 2018 19:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Fri, 05 Oct 2018 11:09:08 GMT]]></title><description><![CDATA[<p dir="auto">This is ridiculous. I love the browser but hate this behaviour! There has to be an unofficial fix.</p>
]]></description><link>https://forums.opera.com/post/156378</link><guid isPermaLink="true">https://forums.opera.com/post/156378</guid><dc:creator><![CDATA[privatadata]]></dc:creator><pubDate>Fri, 05 Oct 2018 11:09:08 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Fri, 05 Oct 2018 01:28:08 GMT]]></title><description><![CDATA[<p dir="auto">It's still intended behavior and there's still no word of having an option to turn it off.</p>
]]></description><link>https://forums.opera.com/post/156349</link><guid isPermaLink="true">https://forums.opera.com/post/156349</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Fri, 05 Oct 2018 01:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Thu, 04 Oct 2018 11:02:15 GMT]]></title><description><![CDATA[<p dir="auto">UP!!</p>
]]></description><link>https://forums.opera.com/post/156308</link><guid isPermaLink="true">https://forums.opera.com/post/156308</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 04 Oct 2018 11:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Mon, 23 Jul 2018 08:06:25 GMT]]></title><description><![CDATA[<p dir="auto">54.0.2952.60 stable has same problem</p>
<p dir="auto"><img src="https://i.loli.net/2018/07/23/5b558b9757086.png" alt class=" img-responsive img-markdown" /></p>
]]></description><link>https://forums.opera.com/post/151158</link><guid isPermaLink="true">https://forums.opera.com/post/151158</guid><dc:creator><![CDATA[redscarf]]></dc:creator><pubDate>Mon, 23 Jul 2018 08:06:25 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 07 Apr 2018 16:52:58 GMT]]></title><description><![CDATA[<p dir="auto">same here</p>
]]></description><link>https://forums.opera.com/post/144032</link><guid isPermaLink="true">https://forums.opera.com/post/144032</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sat, 07 Apr 2018 16:52:58 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Wed, 14 Feb 2018 08:40:29 GMT]]></title><description><![CDATA[<p dir="auto">Still continue.</p>
<p dir="auto">V51.0.2830.26</p>
]]></description><link>https://forums.opera.com/post/139846</link><guid isPermaLink="true">https://forums.opera.com/post/139846</guid><dc:creator><![CDATA[demiryasinoruc]]></dc:creator><pubDate>Wed, 14 Feb 2018 08:40:29 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Mon, 05 Feb 2018 19:24:55 GMT]]></title><description><![CDATA[<p dir="auto">2 years later, Feb 5th 2018, this is still an issue. Executing file after download from the browser will create a "scoped_dir" folder......</p>
]]></description><link>https://forums.opera.com/post/139075</link><guid isPermaLink="true">https://forums.opera.com/post/139075</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Mon, 05 Feb 2018 19:24:55 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Mon, 29 Jan 2018 09:24:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/184521">@rkoopmansnl</a> One way is for inside a batch file and the other is for on the command-line directly.</p>
]]></description><link>https://forums.opera.com/post/138535</link><guid isPermaLink="true">https://forums.opera.com/post/138535</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Mon, 29 Jan 2018 09:24:45 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 27 Jan 2018 17:15:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> said in <a href="/post/137138">scoped_dir folders in downloads directory</a>:</p>
<blockquote>
<pre><code>FOR /D %%X IN (scoped_dir*) DO RD /S /Q "%%X"
</code></pre>
</blockquote>
<p dir="auto">This works better... <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=f58hvca1lju" class="not-responsive emoji emoji-emoji-one emoji--winking_face" title=";-)" alt="😉" /></p>
<blockquote>
<pre><code>FOR /D %X IN (scoped_dir*) DO RD /S /Q "%X"
</code></pre>
</blockquote>
]]></description><link>https://forums.opera.com/post/138411</link><guid isPermaLink="true">https://forums.opera.com/post/138411</guid><dc:creator><![CDATA[rkoopmansnl]]></dc:creator><pubDate>Sat, 27 Jan 2018 17:15:47 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 13 Jan 2018 06:57:34 GMT]]></title><description><![CDATA[<p dir="auto">As a workaround, you could put:</p>
<p dir="auto">noscoped.bat</p>
<pre><code>FOR /D %%X IN (scoped_dir*) DO RD /S /Q "%%X"
</code></pre>
<p dir="auto">in the downloads folder and double-left-click it for easy cleanup.</p>
<p dir="auto">Or, you could do something like:</p>
<pre><code>cd "d:\downloads"
FOR /D %%X IN (scoped_dir*) DO RD /S /Q "%%X"
</code></pre>
<p dir="auto">for the batch file and then modify Opera's shortcut to be something like:</p>
<pre><code> "d:\downloads\noscoped.bat" &amp; "C:\Program Files\Opera\launcher.exe"
</code></pre>
<p dir="auto">That bat obviously wouldn't execute if you launched Opera via a file association (unless you edited the commands in the registry). But, it'd work for the normal shortcut case.</p>
<p dir="auto">On a side, I did notice that if you close Opera while a scoped directory it created is in use (because the installer is still open in the directory), Opera won't delete it, obviously. So, that's another situation to avoid.</p>
]]></description><link>https://forums.opera.com/post/137138</link><guid isPermaLink="true">https://forums.opera.com/post/137138</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Sat, 13 Jan 2018 06:57:34 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Thu, 11 Jan 2018 08:42:54 GMT]]></title><description><![CDATA[<p dir="auto">Agreed with rejzor.<br />
I always set download directory as "D:\" and I don't want to see strange &amp; ugly folders on my working drive.</p>
]]></description><link>https://forums.opera.com/post/136921</link><guid isPermaLink="true">https://forums.opera.com/post/136921</guid><dc:creator><![CDATA[roma-fl]]></dc:creator><pubDate>Thu, 11 Jan 2018 08:42:54 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Thu, 11 Jan 2018 08:15:30 GMT]]></title><description><![CDATA[<p dir="auto">I stopped executing downloaded programs from within Opera. Not a single scoped_dir folder in there. It's just annoying that I have the popup there inside Opera interface and I have to avoid using it and manually opening the downloads folder when the thing could work right from the get go in cleaning up its mess in the first place. I mean, no other program uses "scoped_dir" so why doesn't Opera try to clean it up on restarts, checking its designated download folder for scoped_dir folders and if there are any, clean them up. If they are in use, it won't allow it anyway so you just can't make the cleanup wrong. It's an easy fix if anyone at least bothered to do it...</p>
]]></description><link>https://forums.opera.com/post/136912</link><guid isPermaLink="true">https://forums.opera.com/post/136912</guid><dc:creator><![CDATA[rejzor]]></dc:creator><pubDate>Thu, 11 Jan 2018 08:15:30 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 25 Nov 2017 12:05:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/175">@rejzor</a> said in <a href="/post/132389">scoped_dir folders in downloads directory</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> Fine, but then fix the Opera to clean up this stuff correctly. It's clearly broken if these folders are being left behind.</p>
</blockquote>
<p dir="auto">Can you list each situation where Opera doesn't clean them up? On shutdown of Opera, Opera is at least cleaning up ones it created in that session for me.</p>
]]></description><link>https://forums.opera.com/post/132426</link><guid isPermaLink="true">https://forums.opera.com/post/132426</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Sat, 25 Nov 2017 12:05:16 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Fri, 24 Nov 2017 20:46:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> Fine, but then fix the Opera to clean up this stuff correctly. It's clearly broken if these folders are being left behind.</p>
]]></description><link>https://forums.opera.com/post/132389</link><guid isPermaLink="true">https://forums.opera.com/post/132389</guid><dc:creator><![CDATA[rejzor]]></dc:creator><pubDate>Fri, 24 Nov 2017 20:46:04 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Thu, 23 Nov 2017 21:19:37 GMT]]></title><description><![CDATA[<p dir="auto">Okay. The reason for creating the scoped directories is to prevent <a href="https://www.google.com/search?q=dll+hijacking" target="_blank" rel="noopener noreferrer nofollow ugc">DLL hijacking</a> when launching executables that don't use <a href="https://www.google.com/search?q=safe+dll+search" target="_blank" rel="noopener noreferrer nofollow ugc">safe DLL searching</a>. By launching the executable from within a separate folder, it prevents dangerous DLLs (that you accidentally downloaded or were tricked into downloading) in the downloads directory from being used by the executable instead of the real, safe system versions of the DLLs.</p>
<p dir="auto">The exe that's placed in the scoped directory isn't a copy of the exe. It's an <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365006(v=vs.85).aspx" target="_blank" rel="noopener noreferrer nofollow ugc">NTFS hard link</a> to the original (which you can check with <code>fsutil hardlink list filename</code>), so it's not taking up extra space. By default, the scoped directory is placed in the system %TEMP% directory. However, if you set the download directory to another drive, the scoped directory must be created on that drive instead (in the downloads directory for example) because NTFS hard links can't cross file system boundaries.</p>
<p dir="auto">These scoped directories are deleted when Opera properly shuts down.</p>
<p dir="auto">So, Opera is doing this to protect the user from this type of attack, and all of Opera's current behavior with the scoped directories is correct / expected.</p>
<p dir="auto">However, more-robust handling of cleanup of the directories might be investigated.</p>
<p dir="auto">Hope that helps.</p>
]]></description><link>https://forums.opera.com/post/132282</link><guid isPermaLink="true">https://forums.opera.com/post/132282</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Thu, 23 Nov 2017 21:19:37 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 18 Nov 2017 13:42:52 GMT]]></title><description><![CDATA[<p dir="auto">FWIW, I filed bug DNA-65689 with a good description of the problem and good steps to reproduce; to try to get some official answers on the behavior and to fix and improve things. Pointed to this thread also.</p>
]]></description><link>https://forums.opera.com/post/131516</link><guid isPermaLink="true">https://forums.opera.com/post/131516</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Sat, 18 Nov 2017 13:42:52 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 18 Nov 2017 12:09:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/175">@rejzor</a> Not sure. It was indeed a usb thumb drive I was testing with.</p>
]]></description><link>https://forums.opera.com/post/131512</link><guid isPermaLink="true">https://forums.opera.com/post/131512</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Sat, 18 Nov 2017 12:09:46 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Sat, 18 Nov 2017 06:42:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> Anyone actually still uses FAT32 these days for things other than USB drives?</p>
]]></description><link>https://forums.opera.com/post/131474</link><guid isPermaLink="true">https://forums.opera.com/post/131474</guid><dc:creator><![CDATA[rejzor]]></dc:creator><pubDate>Sat, 18 Nov 2017 06:42:31 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Fri, 17 Nov 2017 19:13:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> said in <a href="/post/131426">scoped_dir folders in downloads directory</a>:</p>
<blockquote>
<p dir="auto">I'm having trouble producing the problem in both Opera and Chrome right now, but Chrome was doing this too when I initially tested this problem.</p>
</blockquote>
<p dir="auto">I was able to reproduce in Opera again (not Chrome though). I forgot the drive had to be NTFS for it to work (I assume it's required for the security measures for the directory).</p>
]]></description><link>https://forums.opera.com/post/131429</link><guid isPermaLink="true">https://forums.opera.com/post/131429</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Fri, 17 Nov 2017 19:13:56 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Fri, 17 Nov 2017 19:05:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/175">@rejzor</a> said in <a href="/post/131421">scoped_dir folders in downloads directory</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> No other browser does this and yet they all work just fine. How come, eh?</p>
</blockquote>
<p dir="auto">I'm having trouble producing the problem in both Opera and Chrome right now, but Chrome was doing this too when I initially tested this problem. If you look up scoped_dir issues, they're usually Chrome/Chromium issues (and Opera uses Chromium).</p>
<p dir="auto">But, even if Chrome's not doing it, some Opera devs will have to answer the "How come?". I can just suggest that Opera is usually more conscious of privacy and security.  Then again, it could just be a side effect of the way Opera implement the UI.</p>
<p dir="auto">I'll keep trying to reproduce the issue again.</p>
]]></description><link>https://forums.opera.com/post/131426</link><guid isPermaLink="true">https://forums.opera.com/post/131426</guid><dc:creator><![CDATA[burnout426]]></dc:creator><pubDate>Fri, 17 Nov 2017 19:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to scoped_dir folders in downloads directory on Fri, 17 Nov 2017 18:37:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/122">@burnout426</a> No other browser does this and yet they all work just fine. How come, eh?</p>
]]></description><link>https://forums.opera.com/post/131421</link><guid isPermaLink="true">https://forums.opera.com/post/131421</guid><dc:creator><![CDATA[rejzor]]></dc:creator><pubDate>Fri, 17 Nov 2017 18:37:27 GMT</pubDate></item></channel></rss>