• 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 What chmod for tfs and html?

arti1194

New Member
Joined
Jun 6, 2009
Messages
96
Reaction score
3
Hi,

I have tfs 0.4 and Gesior ACC.
What should be chmod the directory /tfs and for /html ?

Thx
 
Usual permission for files is 644 and 755 for directories. Under certain circumstances you might be needing a 777 but BE CAREFUL with that :)
 
Ok chmod for /www 755 but server status on site is offline why?
Previously server status working fine.
 
Last edited:
If you are referring to tfs status try the chmod you had on tfs before.
I did not change chmod for tfs directory. I change only for /www and status is offline. But when I change to 777 then status working good.

PHP:
<div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">

          <?PHP
            if($config['status']['serverStatus_online'] == 1)
                echo $config['status']['serverStatus_players'].'<br />Players Online';
            else
                echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
          ?></div>
 
It seems as though this is needed to show server status online. It should not necessarily be needed to run the ots.
 
Back
Top