# \<file\> with wd= not working saying access denied for /var/log

**URL:** https://dmap-community.ductus.global/t/file-with-wd-not-working-saying-access-denied-for-var-log/1894
**Category:** CDB and CDB API
**Created:** [April 23, 2018, 12:56pm UTC](https://dmap-community.ductus.global/t/file-with-wd-not-working-saying-access-denied-for-var-log/1894 "2018-04-23T12:56:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bkannadassan](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@bkannadassan](https://dmap-community.ductus.global/u/bkannadassan)
#### Post date: [April 23, 2018, 12:56pm UTC](https://dmap-community.ductus.global/t/file-with-wd-not-working-saying-access-denied-for-var-log/1894/1 "2018-04-23T12:56:10Z")

</div>

Hi All!

We upgraded to confined version 6.4.3 earlier we were using 5.x. We have given the path to show the list of files in our .cli files as in 5.x it was working and showing files but in 6.4.3 we see the files are not listed and if we still try entering a name it says access denied. Please let us know how can we debug the same…

rgds  
Balaji Kamal Kannadassan

---

<div class="post-metadata">

### Author: ![bkannadassan](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@bkannadassan](https://dmap-community.ductus.global/u/bkannadassan)
#### Post date: [May 2, 2018, 1:18pm UTC](https://dmap-community.ductus.global/t/file-with-wd-not-working-saying-access-denied-for-var-log/1894/2 "2018-05-02T13:18:43Z")

</div>

Haven’t got an update on the same ?. Please let us know if you need any further input for the same ?.

monitor log to balaji  
---------------------^  
syntax error: access denied

Only current directory works i.e

`"<file wd=<directory from where confd was started>/>" works..`

One more strange observation, if I give one directory above the cwd which I give in confd\_cli

```
# monitor log to 
Possible completions:
  <file> ../

```

its showing option as one directory back…

rgds  
Balaji Kamal Kannadassan

---

<div class="post-metadata">

### Author: ![bkannadassan](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@bkannadassan](https://dmap-community.ductus.global/u/bkannadassan)
#### Post date: [May 3, 2018, 8:18am UTC](https://dmap-community.ductus.global/t/file-with-wd-not-working-saying-access-denied-for-var-log/1894/3 "2018-05-03T08:18:22Z")

</div>

What I could narrow down is in confd\_cli whichever I directory I am giving

i.e if I give --cwd="/root/balaji"

I can use any directory after this in file option wd but if I give “/var/log” it doesn’t work…  
Btw this is the behaviour with 6.4.3 in 5.0 it was working.

rgds  
Balaji Kamal Kannadassan
