Capture Full Page don't work after update
-
@cpuheater said in Capture Full Page don't work after update:
Till now I never had problems with this drive, but it's the only drive that is encrypted using VeraCrypt. I updated VeraCrypt to the latest stable version 1.26.15 and checked the drive, but everything is OK.
There's always that one small thing that you think would not affect anything and you forget to inform about
I tested:
- Installed VeraCrypt as portable
- Created a new 10GB
f:\temp\VeraCrypt
and mounted it asI:
- Installed Vivaldi 6.9 Stable in
i:\Apps\Vivaldi-test1\
- Ran Vivaldi and tried Page Capture, it failed.
- No output in ProcMon as well, no file activity to the
Vivaldi Captures
folder on C: - Tried the same with
i:\Vivaldi-Captures\
in case the location or the space made a difference - it didn't. - Tried installing/copying over older releases to the same folder and tried the same to find a possible regression point.
Seems to have started back in 6.8 - it works in 6.0, 6.6 and 6.7 when doing the same.
The really strange thing is also that when I try copying the
Vivaldi-test1
folder over to another drive - it still fails - I have no idea why.We have at least one regular forumer who I know uses Vivaldi on a VeraCrypt drive but I believe they don't use Vivaldi Capture but FastStone.
Maybe @Pesala could do a quick capture test?I have no idea why capture would fail when running Vivaldi from an encrypted drive - a process is a process and I see zero difference in the binaries Application folder.
I guess you should report a bug.
Maybe @DoctorG could do a verify as well.Please read:
carefully and report the bug to Vivaldi bugtracker.
Please also post the bug-number (VB-#) here after reporting -
@Pathduck said in Capture Full Page don't work after update:
Maybe @Pesala could do a quick capture test?
I can confirm on Vivaldi Snapshot 6.10.3483.4.
11 Gigabyte Veracrypt drive mounted as drive V:
-
@Pesala said in Capture Full Page don't work after update:
I can confirm on Vivaldi Snapshot 6.10.3483.4.
Please create a bug report for Vivaldi bug tracker.
-
@DoctorG Done:
VB-110128 Capture Full Page Fails if Vivaldi installed on Veracrypt drive
-
@Pesala Thanks for your test!
I confirmed bug tracker entry now. -
@TyrionLannister
I try to ask internally in dev team chat.Ah, @Pathduck already is in discussion with dev team. -
@Pathduck Thank you very much for your great support, I really appreciate this!
I have an update to this problem:
I did some more tests to try to understand this behavior. I repeated the test to install the new version of Vivaldi 6.9.3447.51 as Standalone, the exact same way as before, but I tested the following situations on a new 32GB USB-stick:- I formatted the USB-stick using NTFS with default cluster size, installed Vivaldi -> Capture works!
- I encrypted this drive using BitLocker -> Capture works!
- I then formatted the USB-stick using exFAT, installed Vivaldi -> Capture failed!
- I then formatted the USB-stick using FAT32, installed Vivaldi -> Capture failed!
Probably the problem is not exclusively related to VeraCrypt encrypted drive, but I still don't understand why the filesystem should make a difference.
-
@cpuheater said in Capture Full Page don't work after update:
I still don't understand why the filesystem should make a difference.
NTFS has user Access Rights. exFAT/FAT32 do not have such security features.
-
@DoctorG Just mention that exFAT/FAT32 aren't case sensitive either. Not sure if NTFS is nowadays or not. Took me awhile to get use to this (case sensitive) when I moved to Linux years ago...
-
-
@cpuheater said in Capture Full Page don't work after update:
@Pathduck Thank you very much for your great support, I really appreciate this!
You're very welcome
Probably the problem is not exclusively related to VeraCrypt encrypted drive, but I still don't understand why the filesystem should make a difference.
I think you're correct in that it's not exclusive to VeraCrypt.
I got digging into this and this rabbit hole goes deepVivaldi is a Chromium browser, and Chromium processes run "sandboxed" for security. One thing the installer does is add special user SIDs to the Application folder that plays a role in this sandboxing.
If these special SIDs are removed, the full-page capture fails, reasons unknown. If the SIDs are added back, full-page capture works. This seems to have started in Vivaldi 6.8/Chr128 and is independent of VeraCrypt.
As long as the file system is NTFS, the installer will apply these SIDs to the Application folder where the exe resides. This also applies on VeraCrypt drives, so it doesn't fully explain the issue, but the symptoms are related and probably caused by the sandboxing.
VeraCrypt drives seem to have default "Everyone=Full Control" permissions, with inheritance. But this does not seem to matter, what matters is the SIDs + the sandboxing. Possibly VeraCrypt's driver is involved as well.
There's a bug report now, and a dev will take a look over the weekend I hope. No idea how easy it is to solve though.
If you're interested in some more technical details I wrote up a doc including some links to Chromium source:
https://docs.google.com/document/d/1ovRymEhJwMCg2CkFQDUqHEMBLGit7hwE5-Y0j0a2FBk/edit?usp=sharingUnfortunately I have not found any workaround to make it work on VeraCrypt, even adding the exact same standard permission an application folder should have on Windows and the capture still fails.
-
@Pathduck Thank you for continuing to investigate on this problem and for digging!
I try to help dig, but my knowledge is limited.The information you provided is very interesting for me, even I don't understand everything, I learned a few things.
Unfortunately I have not found any workaround to make it work on VeraCrypt, even adding the exact same standard permission an application folder should have on Windows and the capture still fails.
I tried also to apply the same permissions to the Vivaldi folder including subfolders on the VeraCrypt drive as on the working Vivaldi Standalone installation folder. -> It's not working (as you mentioned)
I tried to copy the working Standalone installation to the VeraCrypt drive with
robocopy.exe
, using the following arguments:robocopy "D:\Apps\Vivaldi.6.9.3447.51.x64(D)" "E:\Apps\Vivaldi.6.9.3447.51.x64(D)" /COPY:DATSOU /DCOPY:DATE /MIR
I was expecting it copies ALL attributes, security settings, etc., but this test failed too.
-
@cpuheater I found a possible "workaround" but probably not recommended.
A command line argument:
--no-sandbox
Disables the sandbox for all process types that are normally sandboxed. Meant to be used as a browser-level switch for testing purposes only
https://peter.sh/experiments/chromium-command-line-switches/#no-sandboxNot sure about what sandboxing does or how important it is, but it's to do with process security that's all I know.
At least it's more proof that this is related to sandboxing.
-
@Pathduck Huh, running processes not-in-sandbox is not advised, disabling sandbox can open a large security risk wo browser and OS – not a box of pandora, but can of worms.
-
@DoctorG Yes of course, that's why it's only for testing. It confirms that sandboxing is involved in the issue is all.
Do you know what the sandboxing does and how it functions exactly and why Vivaldi's full-page capture fails on VeraCrypt drives with sandboxing enabled? Please let us know
I joke of course, only Chromium devs know I'm afraid.
-
@Pathduck said in Capture Full Page don't work after update:
only Chromium devs know I'm afraid.
Yepp!
-
This post is deleted!