Author Topic: Kick command off me server...  (Read 5833 times)

0 Members and 1 Guest are viewing this topic.

Offline soldat-game

  • Camper
  • ***
  • Posts: 407
Kick command off me server...
« on: June 05, 2016, 07:45:16 am »
16-06-05 08:43:06 /addbot1 Admiral([soldat-game])
16-06-05 08:43:08 /kick 2([soldat-game])
16-06-05 08:43:08 Admiral has been kicked.
16-06-05 08:43:08 Server Encountered an error:
16-06-05 08:43:08 Access denied
16-06-05 08:43:08 Shutting down server...
16-06-05 08:43:09 Shutting down FileServer...

Offline soldat-game

  • Camper
  • ***
  • Posts: 407
Re: Kick command off me server...
« Reply #1 on: June 05, 2016, 07:52:16 am »
How fix: If u have linux and if u use /admip PLAYER IP in onjoingame and if u dont have chmod 777 on remote u have admin but server dont se u admin u kick bot or player but server result aces denied :O

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5035
Re: Kick command off me server...
« Reply #2 on: June 06, 2016, 07:49:58 pm »
How fix: If u have linux and if u use /admip PLAYER IP in onjoingame and if u dont have chmod 777 on remote u have admin but server dont se u admin u kick bot or player but server result aces denied :O

What is that in English?

I'm guessing you're saying a file on the server has invalid permissions?
There are other worlds than these

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Kick command off me server...
« Reply #3 on: June 07, 2016, 05:37:10 am »
From what i understood he's saying that there's a bug in soldat where if you have invalid permissions on remote.txt file, /kick will crash the server.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline soldat-game

  • Camper
  • ***
  • Posts: 407
Re: Kick command off me server...
« Reply #4 on: June 07, 2016, 01:25:33 pm »
Yes falcon is bug if remote.txt is non chmod 777 and u use /adminip <ip_newadmin> he give admin but if use /kick command server is crash.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5035
Re: Kick command off me server...
« Reply #5 on: June 08, 2016, 12:01:48 pm »
Yes falcon is bug if remote.txt is non chmod 777 and u use /adminip <ip_newadmin> he give admin but if use /kick command server is crash.

644 will probably suffice if remote.txt is the same user as you are running soldatserver. No need for world writable permissions.
There are other worlds than these

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Kick command off me server...
« Reply #6 on: June 08, 2016, 12:36:54 pm »
actually remote.txt has to be writable, it's a file that stores admin IPs added through /adm command.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Re: Kick command off me server...
« Reply #7 on: June 08, 2016, 12:47:33 pm »
Still, isn't it enough to be writeable by the user only?
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Kick command off me server...
« Reply #8 on: June 08, 2016, 01:01:51 pm »
It is, it's just i talked with dominikk on IRC the other day and i don't feel like going through unix file permissions all over again.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.