You are here

Zettlr tries to wirite in %userprofile%\OneDrive\Documents

2 posts / 0 new
Last post
Last seen: 1 year 7 months ago
Joined: 2022-10-06 10:23
Zettlr tries to wirite in %userprofile%\OneDrive\Documents

I have enebled the windows feature 'controlled folder access' (In ransomware security) which denies write access to most destinations until I whitelist the app or the folder. When I start zettlr portable, it tries to write something to %userprofile%\OneDrive\Dokumente which is denied by windows and the zettlr app is aborting its own startup.

I believe zettlr portable MUST NOT write anything to my systems documents folder automatically. It should stay on its installation medium

Author of zettlr said, he is not responsible for the portable apps integration:

The PortableApps release is a third-party service with whom I do not have any communication. I do not know what they do to their binary, and hence cannot help out here. Please try to get in contact with them instead, they may be able to help you.

By default, Zettlr only needs access to its data directory and any workspace/file you open with it. There is a way to modify the genuine binary from our website/here on GitHub so that it becomes portable. Please refer to this guide:
John T. Haller
John T. Haller's picture
Last seen: 3 hours 3 min ago
Joined: 2005-11-28 22:21
Zettlr Issue

We use an unmodified Zettlr within our portable package and redirect its data directory using its own --data-dir="..\..\Data\ZettlrData" command line switch. Unfortunately, Zettlr itself is hard coded to always create its Tutorial directory within your Documents directory. This is an issue with Zettlr itself. The launcher we include will move the tutorial files to/from your Documents directory. But it appears that Zettlr will fail to launch if it can't write to your Documents directory.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments