Hi!
Now, after a few weeks i want to start my Garry's Mod Server again.
The first what i did was searching for updates (./gmodserver update).
The server try to update but then he shows me everthing of my custom stuff of the server:
What i read: No permissions?
I try something didn't work.... so i reinstall the complete server.
After the complete install of the server i move the backup files from my old server (Maps, Weapons..)
to the folder of my new server. But after i put the files in the new server folder the same error?
What thaa fuck?
Please help!
Sorry for my english,
greetings from Germany!
Please post the output of: ls -l
What exactly does the error say? Please post more information/details/logs.
You could also run this command as root if your username is "gmodserver":
chown -R gmodserver:gmodserver /home/gmodserver
( chown -R username:group /home/gmodserver )
EDIT: corrected command syntax
The output of "ls- l"
total 28
drwxrwxr-x 8 ttt-garrysmod ttt-garrysmod 4096 Jul 30 15:51 Steam
-rwxrwxr-x 1 ttt-garrysmod ttt-garrysmod 4476 Jul 30 15:44 gmodserver
drwxrwxr-x 5 ttt-garrysmod ttt-garrysmod 4096 Jul 30 15:51 lgsm
drwxrwxr-x 4 ttt-garrysmod ttt-garrysmod 4096 Jul 30 15:45 log
drwxrwxr-x 8 ttt-garrysmod ttt-garrysmod 4096 Jul 30 15:52 serverfiles
drwxrwxr-x 5 ttt-garrysmod ttt-garrysmod 4096 Jul 30 15:45 steamcmd
When I try the "chown":
chown -R /home/ttt-garrysmod ttt-garrysmod:ttt-garrysmodchown: invalid user: '/home/ttt-garrysmod'
And the gmod-server-script.log
Jul 30 16:16:12 gmod-server: CHECK: FATAL: Permissions issues found
Jul 30 16:16:12 gmod-server: CHECK: INFO: The current user (ttt-garrysmod) does not have ownership of the following files:
User Group File
root root /home/ttt-garrysmod/serverfiles/garrysmod/maps/ttt_ski_resort_a1.bsp
root root /home/ttt-garrysmod/serverfiles/garrysmod/maps/graphs/ttt_lttp_kakariko_a4.ain
root root /home/ttt-garrysmod/serverfiles/garrysmod/maps/graphs/ttt_glacier.ain
(smal part of the 7000 lines)
At the end: Jul 30 16:16:13 gmod-server: CHECK: FATAL: check_permissions.sh exiting with code: 1
But why?
Ups, I failed with the syntax, sorry. That should work:
chown -R ttt-garrysmod:ttt-garrysmod /home/ttt-garrysmod
Or individually:
chown ttt-garrysmod:ttt-garrysmod /home/ttt-garrysmod/serverfiles/garrysmod/maps/ttt_ski_resort_a1.bsp
chown ttt-garrysmod:ttt-garrysmod /home/ttt-garrysmod/serverfiles/garrysmod/maps/graphs/ttt_lttp_kakariko_a4.ain
chown ttt-garrysmod:ttt-garrysmod /home/ttt-garrysmod/serverfiles/garrysmod/maps/graphs/ttt_glacier.ain
First thanks for the really fast answers!
Now the command works but:
chown: changing ownership of '/home/ttt-garrysmod/serverfiles/garrysmod/materials': Operation not permitted
I should use the root user.. ?
sudo chown -R ttt-garrysmod:ttt-garrysmod /home/ttt-garrysmod/serverfiles/garrysmod/materials
Give it a try if you didn't use root before.
No problem :)
It works!
Thanks for your fast and working support :)
You're welcome!
Gr眉脽e zur眉ck! :D
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.