# why I have the permission denied error when i try to save data

**URL:** <https://forum.kx.com/t/why-i-have-the-permission-denied-error-when-i-try-to-save-data/11900>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [April 27, 2019, 2:26am UTC](https://forum.kx.com/t/why-i-have-the-permission-denied-error-when-i-try-to-save-data/11900 "2019-04-27T02:26:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chan\_chenyanj1](https://avatars.discourse-cdn.com/v4/letter/c/53a042/32.png) [@chan\_chenyanj1](https://forum.kx.com/u/chan_chenyanj1)\
**Post date:** [April 27, 2019, 2:26am UTC](https://forum.kx.com/t/why-i-have-the-permission-denied-error-when-i-try-to-save-data/11900/1 "2019-04-27T02:26:00Z")

</div>

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000}span.s1 {font-variant-ligatures: no-common-ligatures}

`:/t set ([] c1:1 2 3; c2:(1;`1;“a”))

'/t. OS reports: Permission denied

&nbsp; [0]&nbsp; `:/t set ([] c1:1 2 3; c2:(1;`1;“a”))

---

<div class="post-metadata">

**Author:** ![jwbuitenhuis](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jwbuitenhuis](https://forum.kx.com/u/jwbuitenhuis)\
**Post date:** [April 27, 2019, 10:57am UTC](https://forum.kx.com/t/why-i-have-the-permission-denied-error-when-i-try-to-save-data/11900/2 "2019-04-27T10:57:00Z")

</div>

`:/t is in the root directory of your machine. try `:t which is local to your current working directory.
