# Config for File Browser

**URL:** <https://dietpi.com/forum/t/config-for-file-browser/24967>\
**Category:** General Discussion\
**Tags:** services\
**Created:** [14 February 2026 16:10 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967 "2026-02-14T16:10:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zylla](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/7ea924/32.png) [@Zylla](https://dietpi.com/forum/u/Zylla)\
**Post date:** [14 February 2026 16:10 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/1 "2026-02-14T16:10:57Z")

</div>

I am referring to the [File Browser blog article](https://dietpi.com/blog/?p=3806).

I would like to change the directory where files will be located (for example to mnt/mycloud in an external HDD mounted via the drive\_manager)

As I am a newbie and not confortable with CLI, would you mind give some additionnal guidances from the [Changing Data Directory](https://dietpi.com/blog/?p=3806#changing_the_data_directory) feature.

Is the following code correct and what will be the consequences:

```bash
mkdir -p /mnt/mycloud/FilebrowserData
chown dietpi:dietpi /mnt/mycloud/FilebrowserData
chmod 0775 /mnt/mycloud/FilebrowserData

```

thanks in advance

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [14 February 2026 16:14 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/2 "2026-02-14T16:14:49Z")

</div>

Not sure what you are aiming for exactly but these 3 lines will

1. Crate a new director
2. Change ownership
3. Set specific permission

---

<div class="post-metadata">

**Author:** ![Zylla](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/7ea924/32.png) [@Zylla](https://dietpi.com/forum/u/Zylla)\
**Post date:** [14 February 2026 16:17 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/3 "2026-02-14T16:17:48Z")

</div>

In addition I have to change File the Browser configuration as follows:

```bash
systemctl stop filebrowser
/opt/filebrowser/filebrowser config set -r /mnt/mycloud/FilebrowserData -d /mnt/mycloud/filebrowser/filebrowser.db
systemctl start filebrowser

```

at the end should I get a file system for File Browser only on mycloud directory ?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [14 February 2026 18:52 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/4 "2026-02-14T18:52:29Z")

</div>

> [@Zylla](#):
>
> `-d /mnt/mycloud/filebrowser/filebrowser.db`

You are using an incorrect location of the configuration file. It’s located at `/mnt/dietpi_userdata/filebrowser/filebrowser.db` as described on our [online docs](https://dietpi.com/docs/software/cloud/#file-browser-modify-the-default-config)

Other than that, following your steps, you will lock File Browser to `/mnt/mycloud/FilebrowserDat`. It’s not able to store data outside of this directory. In File Browser this will be shown as your root directory.

---

<div class="post-metadata">

**Author:** ![Zylla](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/z/7ea924/32.png) [@Zylla](https://dietpi.com/forum/u/Zylla)\
**Post date:** [15 February 2026 00:12 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/5 "2026-02-15T00:12:06Z")

</div>

Thanks a lot.

It’s what I expected to restrict data storage only to « mycloud »

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [15 February 2026 00:43 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/6 "2026-02-15T00:43:18Z")

</div>

> [@Zylla](#):
>
> It’s what I expected to restrict data storage only to « mycloud »

Yes, it will set the path what will be shown in file browser to `/mnt/mycloud/FilebrowserData` but the config file of file browser still remains at `/mnt/dietpi_userdata/filebrowser/filebrowser.db`.

You could move this config file, but then you would also need to modify the according systemd service, so file browser will load the config from a new path.

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [15 February 2026 07:07 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/7 "2026-02-15T07:07:52Z")

</div>

> [@Jappe](#):
>
> at `/mnt/mycloud/filebrowser/filebrowser.db`.

The config file remains in user data not in a custom location. Probably a typo?

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [15 February 2026 17:27 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/8 "2026-02-15T17:27:06Z")

</div>

Yes, copy-and-paste typo, I corrected the post.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [14 August 2026 17:27 UTC](https://dietpi.com/forum/t/config-for-file-browser/24967/9 "2026-08-14T17:27:48Z")

</div>

Closed on 14 August 2026 17:27 UTC

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