Skip to content

Permission issue of mounted volume: Cannot write into directory #620

@onny

Description

@onny

Hey, I'm trying to mount my app into the docker container with this command:

docker run -v /home/onny/projects/web-nextcloud-app-radio:/var/www/html/custom_apps/radio -d -p 8080:80 nextcloud

Unfortunately I get following error on the Nextcloud start page:

Error
Cannot write into "apps" directory
This can usually be fixed by giving the webserver write access to the apps directory or disabling the appstore in the config file. See https://docs.nextcloud.com/server/15/go.php?to=admin-dir_permissions

It is fixed after manually chown the custom_apps folder to www-data:root. But is there any other way to fix this issue?

Best regards,
Jonas

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions