Skip to content

Error when use docker cp. open : permission denied #564

@snowc0de

Description

@snowc0de

Dear developers

I recently installed a Mediawiki app with this command

sudo docker run -d -p 12345:80 --name andrewiki mediawiki

That works perfectly but I loose my LocalSettings.php file (nessessary to change basic variables)
So I run this :
cd /home/gene/DBak/Andrew Bennett/
sudo docker cp andrewiki:/var/www/html/LocalSettings.php .
And there is the output :
open /home/gene/DBak/Andrew Bennett/LocalSettings.php: permission denied

I search elsewhere to find other issue like this one, but I didn't found anything pertinent. So I try :
sudo chown 777 daemon:daemon .
But nothing. The issue continue.

Please help me, if you find other way to have LocalSettings.php I will be very thanks.

Thanks in advance.

SudoBash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions