Problem Chattr +i and server.properties

  • 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

Messzir

New Member
Jul 29, 2019
1
0
0
Hello folks,

I want to start an FTB Unleashed server on Ubuntu and share it with friends to modify world, plugins etc., but I don't want them to be able to modify server.properties and ftbserver.jar, so added the immutable bit (chattr +i server.properties; chattr +i ftbserver.jar). Unfortunately, when the server.properties file is immutable the server log is flooded with errors: http://pastebin.com/Hxg1kJju

All the files is owned by me, but my friends use a different FTP account. I tried to solve this by chmod u=rwx,g=r,o= server.properties; chmod u=rwx,g=r,o= ftbserver.jar, but it did not helped.

My question is do you know how to make server.properties and ftbserver.jar unmodifiable by anyone?