# Open read-only KeePass files

**URL:** <https://forum.authpass.app/t/open-read-only-keepass-files/22>\
**Category:** Feature Discussions\
**Created:** [October 14, 2020, 10:22am UTC](https://forum.authpass.app/t/open-read-only-keepass-files/22 "2020-10-14T10:22:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HP2000](https://forum.authpass.app/letter_avatar_proxy/v4/letter/h/7ab992/32.png) [@HP2000](https://forum.authpass.app/u/HP2000)\
**Post date:** [October 14, 2020, 10:22am UTC](https://forum.authpass.app/t/open-read-only-keepass-files/22/1 "2020-10-14T10:22:41Z")

</div>

I just tried opening a read-only KeePass file. But I received an error message from AuthPass. Is there a reason why AuthPass must have a writeable KeePass in order to even open this file? I just wanted to read from it.  
By the way: I am using AuthPass on a MacBook.  
Thanks.  
HP

---

<div class="post-metadata">

**Author:** ![hpoul](https://forum.authpass.app/user_avatar/forum.authpass.app/hpoul/32/6_2.png) [@hpoul](https://forum.authpass.app/u/hpoul)\
**Post date:** [October 14, 2020, 11:36am UTC](https://forum.authpass.app/t/open-read-only-keepass-files/22/2 "2020-10-14T11:36:33Z")

</div>

Hi,  
that’s interesting… what do you mean with read-only KeePass file? is the .kdbx file itself on a read-only filesystem? or is the `kdbx` file somehow marked as readonly? 🤔

---

<div class="post-metadata">

**Author:** ![HP2000](https://forum.authpass.app/letter_avatar_proxy/v4/letter/h/7ab992/32.png) [@HP2000](https://forum.authpass.app/u/HP2000)\
**Post date:** [October 16, 2020, 3:50pm UTC](https://forum.authpass.app/t/open-read-only-keepass-files/22/3 "2020-10-16T15:50:22Z")

</div>

Hi,  
Thanks for you quick answer. Here are some details.  
On my Mac I do this:

> chmod 400 KeePassData.kdbx (this makes it readonly for me)  
> ls -la  
> -r-------- KeePassData.kdbx (this is my read-only KeePass file)

When I attempt to open this file I get this error message: "Unerwarteter Fehler: PlatformException(UnexpectedError, Error while creating bookmark Error Domain=NSCocoaErrorDomain Code=256 “Could not open() the item” UserInfo=NSURL=file:///Users/user/KeePassData.kdbx …

When I change this file to:

> chmod 600 KeePassData.kdbx (this makes it readable/writeable for me)  
> ls -la  
> -rw------- KeePassData.kdbx  
> In this case I can open the KeePass file without any problems.

Thanks!
