# Custom apps permission denied

**URL:** <https://community.umbrel.com/t/custom-apps-permission-denied/20913>\
**Category:** Support and Troubleshooting\
**Created:** [January 12, 2025, 5:40pm UTC](https://community.umbrel.com/t/custom-apps-permission-denied/20913 "2025-01-12T17:40:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andre\_C](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Andre\_C](https://community.umbrel.com/u/Andre_C)\
**Post date:** [January 12, 2025, 5:40pm UTC](https://community.umbrel.com/t/custom-apps-permission-denied/20913/1 "2025-01-12T17:40:31Z")

</div>

Hi everyone,  
im working on my own custom app store and starting with some requirements for my home network.

the prerequisite to use my own app store are done and i can install apps.  
my problem is that im not able to create writable files with the compose file. the docker-compose create folders/ directories but not map the directories to the image.

for example:

> version: “3.7”
> 
> services:  
> app\_proxy:  
> environment:  
> APP\_HOST: myfirstapp-ubuntu-squid-proxy\_1  
> APP\_PORT: 3128  
> PROXY\_AUTH\_ADD: “false”  
> container\_name: myfirstapp-ubuntu-squid-proxy\_app\_proxy\_1
> 
> server:  
> image: ubuntu/squid:latest  
> hostname: $DEVICE\_DOMAIN\_NAME  
> volumes:  
> - ${APP\_DATA\_DIR}/data/logs:/var/log/squid  
> - ${APP\_DATA\_DIR}/data:/var/spool/squid  
> - ${APP\_DATA\_DIR}/data/config:/etc/squid/config  
> - ${APP\_DATA\_DIR}/data/snippet:/etc/squid/conf.d/snippet.conf  
> environment:  
> PUID: 1000  
> PGID: 1000  
> restart: on-failure

the app can succesfull installed, but the logfile show me some permission errors:

> 2025/01/12 17:29:21| ERROR: Cannot open cache\_log (/var/log/squid/cache.log) for writing; myfirstapp-ubuntu-squid-proxy\_server\_1 | fopen(3) error: (13) Permission denied

i change the directories to:

> sudo chown -R 1000:1000 /home/umbrel/umbrel/app-data/myfirstapp-ubuntu-squid-proxy/data/logs  
> sudo chmod -R 755 /home/umbrel/umbrel/app-data/myfirstapp-ubuntu-squid-proxy/data/logs

but with no effect.  
could someone please asstist me to the right permission? is this just a permission problem or something different?

many thanks André
