# Webdav cannot access some folders | 403 (Forbidden) | Hidden Files

**URL:** <https://forum.pydio.com/t/webdav-cannot-access-some-folders-403-forbidden-hidden-files/5280>\
**Category:** Pydio Cells\
**Tags:** upload, authentication, sharing\
**Created:** [May 23, 2023, 4:52pm UTC](https://forum.pydio.com/t/webdav-cannot-access-some-folders-403-forbidden-hidden-files/5280 "2023-05-23T16:52:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsikar](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsikar/32/2046_2.png) [@bsikar](https://forum.pydio.com/u/bsikar)\
**Post date:** [May 23, 2023, 4:52pm UTC](https://forum.pydio.com/t/webdav-cannot-access-some-folders-403-forbidden-hidden-files/5280/1 "2023-05-23T16:52:57Z")

</div>

### Describe your issue in detail

When accessing the webdav I cannot open certain folders (I will be showing 1 folder as an example, but there are many folders that don’t work and have this same issue, **but there are also many folders that do work** ). However, in the webui I can access those folders. When I try to access them in the dav I get this log:

```auto
2023-05-23T15:13:31.487Z	ERROR pydio.gateway.dav	|- DAV END	{"method": "PROPFIND", "path": "/dav/personal-files/2023 Promo Posts", "error": "{\"Id\":\"DAV\",\"Code\":403,\"Detail\":\"Cannot create hidden folders\",\"Status\":\"Forbidden\"}"}

```

I will have images, but since I am a new user I can only put 2 links. I will put an album of images here:

- [Pydio DAT issues - Album on Imgur](https://imgur.com/a/PpPRVzw)

In windows I am using explorer to view the files and folders:  
Image 1\*

When using cyberduck I get the same issue:  
Image 2\*

I can view it on the webui however:  
Image 3\*

### What version of Cells are you using?

Software Version: Pydio Cells Home Edition 4.2.1 - May 22, 2023

### What is the server OS? Database name/version? Browser name or mobile device description (if issue appears client-side)?

Linux debian 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86\_64 GNU/Linux

Client:  
Version: 20.10.5+dfsg1  
API version: 1.41  
Go version: go1.15.15  
Git commit: 55c4c88  
Built: Mon May 30 18:34:49 2022  
OS/Arch: linux/amd64  
Context: default  
Experimental: true

Server:  
Engine:  
Version: 20.10.5+dfsg1  
API version: 1.41 (minimum version 1.12)  
Go version: go1.15.15  
Git commit: 363e9a8  
Built: Mon May 30 18:34:49 2022  
OS/Arch: linux/amd64  
Experimental: false  
containerd:  
Version: 1.4.13~ds1  
GitCommit: 1.4.13~ds1-1~deb11u4  
runc:  
Version: 1.0.0~rc93+ds1  
GitCommit: 1.0.0~rc93+ds1-5+deb11u2  
docker-init:  
Version: 0.19.0  
GitCommit:

```auto
version: '3.7'

services:
  cells:
    image: pydio/cells:latest
    container_name: pydio
    restart: unless-stopped
    expose:
      - 8080
    volumes:
      - /mnt/configs/pydio/cells:/var/cells
      - /mnt/data:/var/cells/data
    networks:
      - pydio

  mariadb:
    image: mariadb
    container_name: pydio_mariadb
    restart: unless-stopped
    expose:
      - 3306
    environment:
      # for testing everything is pydio
      - MYSQL_DATABASE=pydio
      - MYSQL_USER=pydio
      - MYSQL_PASSWORD=pydio
      - MYSQL_ROOT_PASSWORD=pydio
    command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
    volumes:
      - /mnt/configs/pydio/mariadb:/var/lib/mariadb
    networks:
      - pydio

volumes:
    data: {}
    cellsdir: {}
    mariadbdir: {}

networks:
  pydio:
    external: true

```

I am using my own caddy instance as I have many other containers and wanted them in 1 docker-compose file.

```auto
version: "3.3"

services:
  caddy:
    container_name: caddy
    image: caddy:latest
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - /mnt/truenas-configs/caddy/config/Caddyfile:/etc/caddy/Caddyfile
      - /mnt/truenas-configs/caddy/config/site:/srv
      - /mnt/truenas-configs/caddy/config/data:/data
      - /mnt/truenas-configs/caddy/config/config:/config
    networks:
      - caddy
      # .... a lot more containers
      - pydio

networks:
  caddy:
    external: true
  # .... a lot more containers
  pydio:
    external: true

```

And my caddy file:

```auto
example.com {
    encode zstd gzip
    reverse_proxy pydio:8080 {
        # use https with a self signed cert between caddy and cells
	transport http {
	    tls
	    tls_insecure_skip_verify
	}
    }
    header {
        # enable HSTS
        Strict-Transport-Security max-age=31536000;
        # disable clients from sniffing the media type
        X-Content-Type-Options nosniff
        # clickjacking protection
        X-Frame-Options DENY
        # keep referrer data off of HTTP connections
        Referrer-Policy no-referrer-when-downgrade
        # Content-Security-Policy: default-src 'self'
        # Enable cross-site filter (XSS) and tell browser to block detected attacks
        X-XSS-Protection "1; mode=block"
        # Prevent search engines from indexing (optional)
        X-Robots-Tag "none"
        # Server name removing
        -Server
    }
}

```

### What steps have you taken to resolve this issue already?

I have tried 2 different ways of viewing the dat and I have been trying to turn on and off the `remote-server` setting:  
Images 4 and 5\*

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [May 25, 2023, 11:13am UTC](https://forum.pydio.com/t/webdav-cannot-access-some-folders-403-forbidden-hidden-files/5280/2 "2023-05-25T11:13:00Z")

</div>

Hello @bsikar welcome to the forums!

No specific pattern for folders that fail? e.g. space in the folder name?  
Did you try without going through caddy ?

Forget about the “remote server” option, it has nothing to do with webdav 😉

---

<div class="post-metadata">

**Author:** ![bsikar](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsikar/32/2046_2.png) [@bsikar](https://forum.pydio.com/u/bsikar)\
**Post date:** [May 25, 2023, 3:46pm UTC](https://forum.pydio.com/t/webdav-cannot-access-some-folders-403-forbidden-hidden-files/5280/3 "2023-05-25T15:46:47Z")

</div>

Hello,

I don’t think there is a pattern. I was going to check for you right now, but it seems that there is another issue as well… I cannot login, I havent done anything with the server since my last message. Could we try and resolve this one first (I dont want to hijack the thread- maybe I should make another issue?).

I am trying to login and its saying unauthorized, the logs show it as well:

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/f/f0279e458584df2401e02d2b172c6473d732deaa.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [July 24, 2023, 3:47pm UTC](https://forum.pydio.com/t/webdav-cannot-access-some-folders-403-forbidden-hidden-files/5280/4 "2023-07-24T15:47:22Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
