New Opera Forums launching soon!
Discussion thread

[Bug] C'mon, fix the dumb "scoped_dir" folders already...

rejzor
rejzor

93 posts

  • Server monkey

After switching to Opera from Firefox I started getting bunch of "scoped_dir" folders in my Downlods as well as on my desktop. After searching around what the hell even is this and I came across forum and blog posts from 2016 about it. And to this date, it still hasn't been fixed. How can there be some broken thing that is widely reported by people and not being fix after 1+ year?

15 Replies - 311 Views

burnout426
0 0
burnout426

1018 posts

  • Server monkey
  • 1000 posts

The "scoped_dir..." directories should be created in the windows temp folder and then deleted when you close Opera. This is how it behaves for me with Opera 47.0.2628.0 (PGO) 64-bit on Windows 10 64-bit.

I'm not sure why they're being created in the downloads directory and on your desktop, but if you can find out why and get Opera to produce them in the temp directory, Opera might start cleaning them up when it shuts down.

Is your %temp% environment variable incorrect?

What version of windows? 32-bit or 64-bit?

What version of Opera? 32-bit or 64-bit?

Where is opera.exe installed?

In Opera's settings, what do you have the download folder path set to? Do you have "ask me" checked?

Are you running as an administrator or standard user? Was Opera installed as an administrator for all users or just as the current user?

rejzor
0 0
rejzor

93 posts

  • Server monkey

It's creating them were I save the downloads...

Win10 64bit (Creators update).

Opera 46 32bit (is there even a 64bit?)

burnout426
0 0
burnout426

1018 posts

  • Server monkey
  • 1000 posts

It's creating them were I save the downloads

Yeah, not sure why. It creates them in the temp directory for me.

Opera 46 32bit (is there even a 64bit?)

Yes. See list on sidebar at http://blogs.opera.com/desktop/. I think the default net installer at opera.com will even favor the 64-bit version now (and automatically upgrade to it, although leave the program files where they're at in the x86 folder).

"Menu -> About Opera" should tell you what you're using. You can look at the opera processes in the task manager too to see if (32-bit) is next to the processes or not.

Win10 64bit (Creators update).

Still using 1607 here. Not sure if it matters for this issue.

Some things you can try though. Download the opera installer, launch it, click "options", set the install path to a folder on your desktop (like "operatest"), set "install for" to "Standalone Installation (USB)" and install. See if you get the same issue there. If not, that might imply that there's something messed up with your normal Opera profile (even if it's fairly new).

If you do get the issue in that standalone installation of 46, try the latest Opera Developer version with a standalone installation. If it's gone there, the issue is probably already fixed.

burnout426
0 0
burnout426

1018 posts

  • Server monkey
  • 1000 posts

Also, what type of files are you downloading and launching via Opera? I was texting with exe files. But, maybe to trigger the issue it needs to be another type of file?

leocg
0 0
leocg

13234 posts

  • Moderator
  • 10000 posts

I'm almost sure that this is some kind of security feature and not a bug.

burnout426
0 0
burnout426

1018 posts

  • Server monkey
  • 1000 posts

I'm almost sure that this is some kind of security feature and not a bug.

Yeah, that's what I figure the scoped directories are for. But, not sure why, for the op, they're not being created in the temp directory and not being cleaned up properly.

leocg
0 0
leocg

13234 posts

  • Moderator
  • 10000 posts

But, not sure why, for the op, they're not being created in the temp directory and not being cleaned up properly.

If I save the download in another drive, the 'scooped' folder is opened there and if I use the C drive - or at least the regular download folder - then it's opened in Windows'temp directory.

rejzor
0 0
rejzor

93 posts

  • Server monkey

It's a really damn weird security feature then...

Yes, I have my entire Documents (Pictures, Music, Desktop, Downloads etc) on D: drive. Same goes for "Downloads" and "Desktop" which are included in the documents. Reason i use such setup is so that I can format my entire system partition without having to shuffle around my pictures and documents. Though this stuff doesn't happen always. Sometimes it does, sometimes it doesn't. Opera is installed in default location on drive C:

rif
0 0
rif

134 posts

  • Server monkey

The "scoped_dir..." directories should be created in the windows temp folder and then deleted when you close Opera. This is how it behaves for me with Opera 47.0.2628.0 (PGO) 64-bit on Windows 10 64-bit.

I have Opera 46.0.2597.26 (PGO) and I have the scoped_dir problem.

I'm not sure why they're being created in the downloads directory and on your desktop, but if you can find out why and get Opera to produce them in the temp directory, Opera might start cleaning them up when it shuts down.

I have my downloads set to: d:\My Documents

Burnout, what happens when you change your download dir? Do you get the problem?

Is your %temp% environment variable incorrect? My %temp% is set to: C:\Users\Garn\AppData\Local\Temp

What version of windows? 32-bit or 64-bit?

Win 10 64 bit

What version of Opera? 32-bit or 64-bit?

64 bit

Where is opera.exe installed?

e:\Opera 2017

In Opera's settings, what do you have the download folder path set to? Do you have "ask me" checked?

d:\My Documents. Yes.

Are you running as an administrator or standard user? Was Opera installed as an administrator for all users or just as the current user?

All users

burnout426
0 0
burnout426

1018 posts

  • Server monkey
  • 1000 posts

If I save the download in another drive, the 'scooped' folder is opened there and if I use the C drive - or at least the regular download folder - then it's opened in Windows'temp directory.

When you close Opera, does the scoped directory disappear on that drive? If so, then that's probably fine. If not, like the op, I can see that being an issue.

I'm getting different behavior though. When saving to drive E: that's a USB stick, no scoped directory is created anywhere. Not on my desktop, not in my normal downloads folder, not in my temp folder and not anywhere on the USB stick. No change if I specifically set my download folder to e:\downloads for example. If I save to my desktop for example and then try to launch in Opera, I again get the scope directory in the temp folder. Running as admin if it makes a difference.

I'm testing by downloading Firefox and Opera installers for example.

Of course, that's with a small usb stick formatted as fat. Let me try an ntfs-formatted one.

Edit: I can confirm the scoped directory creation next the exe if downloaded to an external ntfs drive. But, all scoped directories are being deleted/cleaned up when I close Opera.

burnout426
0 0
burnout426

1018 posts

  • Server monkey
  • 1000 posts

@rejzor, when you test this again, do you only get one scoped directory created (one next to where the exe is saved) or do you get multiple (one next to where the exe is saved AND on your desktop for example)? If the former, I think that might be intended behavior.

With that said though, when you close Opera, is the scoped directory deleted? If not, that's what we should investigate. Is the drive still attached and readable when Opera is closed? Is Opera closing without crashing?

leocg
0 0
leocg

13234 posts

  • Moderator
  • 10000 posts

When you close Opera, does the scoped directory disappear on that drive?

Yep, this is what it seems to be happening.

rif
0 0
rif

134 posts

  • Server monkey

With that said though, when you close Opera, is the scoped directory deleted? If not, that's what we should investigate. Is the drive still attached and readable when Opera is closed? Is Opera closing without crashing?

Mine gets deleted when closing Opera.

rejzor
0 0
rejzor

93 posts

  • Server monkey

@rejzor, when you test this again, do you only get one scoped directory created (one next to where the exe is saved) or do you get multiple (one next to where the exe is saved AND on your desktop for example)? If the former, I think that might be intended behavior. With that said though, when you close Opera, is the scoped directory deleted? If not, that's what we should investigate. Is the drive still attached and readable when Opera is closed? Is Opera closing without crashing?

I don't think they are deleted. I've had several in the Downloads folder and downloads weren't even from the same day.

burnout426
0 0
burnout426

1018 posts

  • Server monkey
  • 1000 posts

I don't think they are deleted. I've had several in the Downloads folder and downloads weren't even from the same day.

Take note of this comment and see if you can reproduce after trying those things.