• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux TFS LOG - access problem.

OTcreator

Active Member
Joined
Feb 14, 2022
Messages
425
Solutions
1
Reaction score
44
Hello!
I use TFS 0.3.7 [OTX2] on Ubuntu 20.04.
When i open my server in screen and with while, my LOG is empty.

I found this restarter, and all working good, but i can open restarter.sh only on root.
I have user with grandaccess etc. and nothing.

This is code:

Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./TFS >> data/logs/server/`date +%d-%m-%Y--%T`.txt; done
 
chmod +x restart.sh or idk how u named this file
I do this on root and work, but when i use my user and: sudo chmod +x name.sh --- nothing in console.
When I open: ./name.sh on console have error witch acces to log folder.
Maybe I must use: sudo ./name.sh ?
 
Process that wants to write to some directory also needs to have permission to write into this directory. Either create some group or change owner of the directory to the user the process is being started from.
Commands:
  • chgrp
  • chown
 
Back
Top