[07:02] <dk0r> I need help learning the basics of installing via command line, synaptic and manually w/ tarballs. Anyone willing to hold my hand?
[08:50] <jrib> k, where is the script?
[08:50] <jrib> 2. what did you 'cd' to in the script?
[08:51] <Polyneux> http://paste.ubuntu-nl.org/31141/
[08:51] <Polyneux> I had cd to / but I took it out in the linked version.
[08:51] <jrib> on your system I mean, what is the path to the script?
[08:51] <Polyneux> Its in /ja
[08:51] <jrib> you don't have permission to write to /
[08:52] <jrib> try 'mkdir ~/.ja' in a terminal and then in your script, put 'cd ~/.ja'
[08:53] <jrib> oh, but then you call files later on directly...
[08:53] <jrib> did you write this?
[08:53] <jrib> what is /ja?
[08:54] <Polyneux> Dedicated server for a game.
[08:55] <jrib> you understand the issue right?  Your user can't write to /ja
[08:55] <Polyneux> Yes I think I can see that is there a way to change that?
[08:56] <jrib> well you can either make your user the owner or set up a group
[08:57] <Polyneux> I thought my user was already the owner...
[08:57] <jrib> what does 'ls -ld /ja' return?
[08:57] <Polyneux> d-w-rwxrwx 8 elm elm 4096 2007-07-24 14:53 /ja
[08:57] <jrib> what does 'touch /ja/.temp' return?
[08:58] <Polyneux> Permission denied
[08:58] <Polyneux> Sudo returns a regular prompt.
[08:58] <jrib> what does 'ls -ld /ja/.temp' return?
[08:59] <Polyneux> Had to sudo: -rw-r--r-- 1 root root 4335 2007-07-24 14:57 /ja/.temp
[08:59] <jrib> alright
[08:59] <jrib> do this: 'sudo chmod 755 /ja && sudo rm /ja/.temp'
[09:00] <Polyneux> Done
[09:00] <Polyneux> Now one of the "permission denied" lines is gone when I try to run the .sh :D
[09:00] <jrib> check for the other files now: ls -ld /ja/japlus_restart.txt /ja/log.txt
[09:01] <Polyneux> -rw-r--r-- 1 root root 53 2007-07-24 14:22 /ja/japlus_restart.txt
[09:01] <Polyneux> -rw-r--r-- 1 root root 62 2007-07-24 14:22 /ja/log.txt
[09:01] <Polyneux> -rw-r--r-- 1 root root 53 2007-07-24 14:22 /ja/japlus_restart.txt
[09:01] <Polyneux> -rw-r--r-- 1 root root 62 2007-07-24 14:22 /ja/log.txt
[09:01] <Polyneux> Oops :3
[09:01] <jrib> delete them: sudo rm /ja/japlus_restart.txt /ja/log.txt
[09:01] <jrib> if you sudo the script again, it will cause you issues again
[09:01] <jrib> btw, the script really should do 'cd /ja' at the second line
[09:07] <Polyneux> It works
[09:07] <Polyneux> I love you