Synapsis Posted April 18, 2018 Share Posted April 18, 2018 Hi, I have some difficuly to setup my cluster on Linux, my servers run on differents sessions on the same machine so I have to grant them read/write group permissions on the cluster folder to make it work. But unfortunalety, every files generated by the server have permissions set to 0600 by default and so cannot be readed/used by the others servers Despite my efforts I haven't found any solution to give default group permissions to these files, has anyone here ever encountered this problem and -I hope so- found a solution? Thanks Link to comment Share on other sites More sharing options...
Arksanity Posted April 19, 2018 Share Posted April 19, 2018 I'm too much of a Linux noob to help you with that issue... But you're running it on the same machine, why not run it from the same user? When we were running 3 maps in cluster, I simply had 3 installs of ARK, all sharing the same cluster-ID folder. Worked flawlessly. Link to comment Share on other sites More sharing options...
Synapsis Posted April 19, 2018 Author Share Posted April 19, 2018 Hi Arksanity, yep I was expecting this remark that was safer and more practical for several reasons/functions. The problem being that now all my server management is scaled on that setup, I can't install multiple servers on the same user without having to recode a lot of functions and I don't want to, everthing works great like that, so I have to find a solution to this permissions issue Link to comment Share on other sites More sharing options...
Arksanity Posted April 19, 2018 Share Posted April 19, 2018 Could you have a script in crontab to chmod it every 5 seconds? Link to comment Share on other sites More sharing options...
Synapsis Posted April 19, 2018 Author Share Posted April 19, 2018 Pretty ugly, but I thought about it Link to comment Share on other sites More sharing options...
Guest Posted April 20, 2018 Share Posted April 20, 2018 On 18/04/2018 at 11:22 PM, Synapsis said: Hi, I have some difficuly to setup my cluster on Linux, my servers run on differents sessions on the same machine so I have to grant them read/write group permissions on the cluster folder to make it work. But unfortunalety, every files generated by the server have permissions set to 0600 by default and so cannot be readed/used by the others servers Despite my efforts I haven't found any solution to give default group permissions to these files, has anyone here ever encountered this problem and -I hope so- found a solution? Thanks Look at using umask on the account that runs the servers. That determines the default file permissions. https://docs.oracle.com/cd/E19683-01/817-3814/userconcept-95347/index.html Link to comment Share on other sites More sharing options...
Synapsis Posted April 20, 2018 Author Share Posted April 20, 2018 Yep I've already done it, but ShooterGameServer dont care Link to comment Share on other sites More sharing options...
ElementalWarrior Posted August 13, 2018 Share Posted August 13, 2018 @Synapsis did you ever solve the umask not honoring the users setting? Link to comment Share on other sites More sharing options...
Synapsis Posted August 18, 2018 Author Share Posted August 18, 2018 @ElementalWarrior nope, i've reworked my whole servers management to have them on the same user Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.