azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.1k stars 112 forks source link

[BUG]: Filebrowser doesnt have access to download folder #84

Closed mareczek82 closed 11 months ago

mareczek82 commented 1 year ago

What happened?

Hello,

I installed filebrowser and metube and audiobookshelf from cosmos market. I wanted to move files from download location to audiobook folder, but i cannot access to download folder or any other folder created by other docker app.

What should have happened?

I thought that i could use filebrowser to manage files on my VPS.

How to reproduce the bug?

COSMOS, and all dockers were installed with default settings.

image Its in Polish, it says that I don't have permission to have access.

2023/08/23 14:25:33 /usr/downloads/: 403 [my ip]open /srv/usr/downloads: permission denied

Relevant log output

No response

Other details

No response

System details

tarbib commented 11 months ago

Hello @mareczek82 ! I have the same issue with permission error on some folders Did you find a solution? Thanks

azukaar commented 11 months ago

If you want to make sure Filebrowser has access to everything you can change the PID and GID in the env var of the container from 1000 to 0 (then it will run as root)

Otherwise you need to make sure that your first user account has permission to access the folder you want to access