pz-server-tools
pz-server-tools copied to clipboard
Permission denied
Hello i have problem when i run this
pzserver install
Redirecting stderr to '/home/pzserver/Steam/logs/stderr.txt'
Logging directory: '/home/pzserver/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1702079268
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x5) verifying install, progress: 5.37 (284945507 / 5303283844)
Update state (0x5) verifying install, progress: 15.51 (822687599 / 5303283844)
Update state (0x5) verifying install, progress: 29.75 (1577634859 / 5303283844)
Update state (0x5) verifying install, progress: 40.59 (2152735235 / 5303283844)
Update state (0x5) verifying install, progress: 51.58 (2735358915 / 5303283844)
Update state (0x5) verifying install, progress: 62.38 (3308450803 / 5303283844)
Update state (0x5) verifying install, progress: 71.22 (3776807203 / 5303283844)
Update state (0x5) verifying install, progress: 80.88 (4289355100 / 5303283844)
Update state (0x5) verifying install, progress: 93.32 (4949226864 / 5303283844)
Update state (0x61) downloading, progress: 0.00 (0 / 3053)
Success! App '380870' fully installed.
cp: cannot create regular file '/etc/pzst/config.json': Permission denied
OK
Fixed with this
sudo chown -R pzserver:pzserver /etc/pzst/
sudo chmod -R 700 /etc/pzst/
sudo chmod +x /usr/local/bin/pzmaxmem
sudo chmod +x /etc/pzst/env/bin/python