Skip to content

Permission denied! "cp: cannot create regular file" #12

@zhiweifang

Description

@zhiweifang

Hi,

I follow the instructions to build a dst-server.

When I start the docker:

docker-compose up -d   # without sudo!!

The output is:

Starting dst_master ... done
Starting dst_caves  ... done

Then I attach the docker, I found the following logs:

Logged in OK
Waiting for user info...OK
 Update state (0x61) downloading, progress: 34.77 (68694186 / 197594637)
 Update state (0x61) downloading, progress: 44.68 (88275816 / 197594637)
 Update state (0x61) downloading, progress: 56.41 (111460953 / 197594637)
 Update state (0x61) downloading, progress: 74.52 (147245728 / 197594637)
 Update state (0x61) downloading, progress: 88.71 (175295215 / 197594637)
 Update state (0x101) committing, progress: 0.00 (0 / 197594637)
Success! App '343050' fully installed.
cp: cannot create regular file '/home/dst/server_dst/mods/dedicated_server_mods_setup.lua': Permission denied
cp: cannot create regular file '/home/dst/.klei/DoNotStarveTogether/DSTWhalesCluster/Master/modoverrides.lua': Permission denied
cp: cannot create regular file '/home/dst/.klei/DoNotStarveTogether/DSTWhalesCluster/Caves/modoverrides.lua': Permission denied

Any suggestions for this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions