Server software running as root

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

eiriklade

New Member
Jul 29, 2019
4
0
0
Title Server software running as root

Launcher Type Server

Modpack FTB Infinity

Have you modified the pack? No

Details of the issue Why must the server software be run as root?
 

Ommina

Well-Known Member
Aug 14, 2014
90
190
59
Hm. I just set up Infinity Evolved Skyblock nine hours ago. Most assuredly is not running as root.

There are a couple of directories outside the world folder that do need write permissions ("asm" and, if you have it enabled "./backups"), but user level permissions were sufficient it both cases.

I suppose Infinity could be different than Infinity Skyblock in this regard, but it would honestly surprise me.
 
  • Like
Reactions: eiriklade

Henry Link

Forum Addict
Dec 23, 2012
2,601
553
153
USA - East Coast
I've been running a various packs starting from 1.2.5 to 1.10.2 and I've never used the root user to run any of them. They have always run on a non privileged account. My OS of choice my server is Ubuntu. So yes I'm sure root and sudo are not required.
 
  • Like
Reactions: eiriklade

Ommina

Well-Known Member
Aug 14, 2014
90
190
59
Absolutely sure. I'm logged in as a user, and not a sudo in sight. top says user: mc

Also using Ubuntu server.
 
  • Like
Reactions: eiriklade

eiriklade

New Member
Jul 29, 2019
4
0
0
I forgot to make the server executable.. That's why I didn't have permission to start it without root.
Thanks for the replies (y)

Tl;dr If anyone's wondering, chmod a+x ServerStart.sh
 

Henry Link

Forum Addict
Dec 23, 2012
2,601
553
153
USA - East Coast
Actually you can shorten that a little to just chmod +x *.sh

And you should run it that way to change the FTBInstall.sh and the settings.sh files.