On Nov 27, 2007 5:22 PM, Georgecooldude &lt;<a href="mailto:georgecooldude@gmail.com">georgecooldude@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all<br><br>Apologies if this has been asked but I couldn&#39;t see anything in my torrent of emails from the list.<br><br>What chmod settings do I need as a minimum on the files and directories? Can someone provide a breakdown?
<br><br>Also how can I stop the server once I started it? Or does it stop when I do a CTRL+Z?<br><br>Thanks in advance.<br><br>George</blockquote><div><br><br><br>Let&#39;s say&nbsp; we make a user called cod4-joe and&nbsp; copy all the files to cod4-joe. When linux creates a user, the default place it end up is in /home, so lets copy our cod4 files to /home/cod4-joe
<br><br>cp -a /path/to/cod4files /home/joe<br><br>or you can simply just move it there by doing<br><br>mv /path/to/cod4files /home/cod4-joe<br><br>Now we will change directories to /home/cod4-joe<br><br>cd /home/cod4-joe<br>
<br>Now we will add a start script and a stop script. The files are attached. Just make sure in the start script, you change the ip to one of the ips of your box.<br><br>nano start<br><br>Now copy and paste the start script into the ssh terminal. Change the ip and save
<br><br>nano stop<br><br>Now copy and paste the stop script into the ssh window, save it<br><br>Now make sure your&nbsp; start and stop file has executable permissions..<br><br>chmod +x start; chmod +x stop<br><br>Now we will make sure the user owns all the files and start the server
<br><br>cd /home<br>chown -R cod4-joe:cod4-joe cod4-joe<br>su - cod4-joe<br>./start<br><br>when you want to stop it, <br><br>su - cod4-joe<br>./stop<br><br><br><br>BTW, this way will only work if the files are sitting in /home/cod4-joe as the main folder would be located at /home/cod4-joe/main 
<br><br>and pb folder will be located at <br><br>/home/cod4-joe/pb<br><br>and so on<br><br><br>This should be simple enough... if I made any errors, I apologize, have a lot of work to do atm. Hope this helps you.<br><br>--jay
<br><br><br><br><br><br><br><br><br></div></div><br><br><br><br>