Author Topic: I do not have write permissions for servers.xml, unix terminal can't change them  (Read 1621 times)

snowflake

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
I searched for "change permissions servers.xml" and did not get what I was looking for. I was trying to make the changes to servers.xml so I could get on zeroping. servers.xml when opened defaults to a mac software editing platform called dashcode. When closing the window I could not change anything because I did not have write permissions. I decided to get my hands dirty and change the permissions from a unix terminal. This is what it looked like. I decided to move a copy of servers.xml to the desktop because it was easier to get to it that way.


Last login: Sun Oct 31 18:34:38 on ttys000
jason-aulls-macbook:~ jasonaull$ cd desktop
jason-aulls-macbook:desktop jasonaull$ ls
PlaneShift-v0.5.4.dmg   The Mana World.app   servers.xml
jason-aulls-macbook:desktop jasonaull$ ls -l
total 1076144
-rw-r--r--@ 1 jasonaull  staff  550981632 Oct 28 22:36 PlaneShift-v0.5.4.dmg
drwxr-xr-x  3 jasonaull  staff        102 Jun 20  2009 The Mana World.app
-rw-r--r--@ 1 jasonaull  staff        646 Jun 11 12:34 servers.xml
jason-aulls-macbook:desktop jasonaull$ chmod +w servers.xml
jason-aulls-macbook:desktop jasonaull$ ls -l servers.xml
-rw-r--r--@ 1 jasonaull  staff  646 Jun 11 12:34 servers.xml
jason-aulls-macbook:desktop jasonaull$ chmod -w servers.xml
jason-aulls-macbook:desktop jasonaull$ ls -l servers.xml
-r--r--r--@ 1 jasonaull  staff  646 Jun 11 12:34 servers.xml
jason-aulls-macbook:desktop jasonaull$ chmod +x servers.xml
jason-aulls-macbook:desktop jasonaull$ ls -l servers.xml
-r-xr-xr-x@ 1 jasonaull  staff  646 Jun 11 12:34 servers.xml
jason-aulls-macbook:desktop jasonaull$ chmod -x servers.xml
jason-aulls-macbook:desktop jasonaull$ chmod +w servers.xml
jason-aulls-macbook:desktop jasonaull$ ls -l servers.xml
-rw-r--r--@ 1 jasonaull  staff  646 Jun 11 12:34 servers.xml
jason-aulls-macbook:desktop jasonaull$ chmod -r servers.xml
jason-aulls-macbook:desktop jasonaull$ ls -l servers.xml
--w-------  1 jasonaull  staff  646 Jun 11 12:34 servers.xml
jason-aulls-macbook:desktop jasonaull$ chmod +r servers.xml
jason-aulls-macbook:desktop jasonaull$ ls -l servers.xml
-rw-r--r--@ 1 jasonaull  staff  646 Jun 11 12:34 servers.xml
jason-aulls-macbook:desktop jasonaull$

I thought about copying servers.xml to a regular text editing platform and moving the original elsewhere but the original seems to programed to stay in the data file.
I posted this in the mac forum because other people did not seem to have this problem.
I also tried to login as root but could not come up with the password. could not even login as my own administrator name and password either. I don't know, maybe something weird is going on with my mac.

Sarva

  • Game Masters
  • Hydlaa Notable
  • *
  • Posts: 621
    • View Profile
Sounds like you are running the game from the dmg that you downloaded. You need to move the PLaneshift folder form the dmg you downloaded into your applications folder on your computer, then run the game from your applications folder and when you run the pslaunch app you should get the ability to update the game.

snowflake

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
I put planeshift.dmg in applications and I can run pslaunch now. I get a box that says i need to log in as admin which i click ok and it goes away, i click repair and i get a big black box that i cant do anything with. settings appears also to be a dead end. play seems to put me back at the beginning with the admin box. I try to change servers.xml and its the same old 'you don't have write permissions' thing again. also when i said i wanted to get on zeroping, what i meant was that i wanted to get on the rp server. I can get on the non RP sever just fine. Also i've been wondering, if the old name for the RP server was skyhost, what is the name of the new RP server on zeroping?

Sarva

  • Game Masters
  • Hydlaa Notable
  • *
  • Posts: 621
    • View Profile
Don't put the dmg file in your applications folder. put the dmg on your desktop, then open the dmg and move the planeshift file inside of the dmg file into your applications folder. The dmg file is like a read only had drive so you have to move the planeshift folder off the dmg, which you can't write information to, and put the planeshift folder into your applications folder. Once you do that, and run the game from the applications folder, then you can write to the files and will be able to update and will not get the admin message.

Caraick

  • Veteran
  • *
  • Posts: 1145
  • I liked PS before it was cool.
    • View Profile
http://www.hydlaaplaza.com/smf/index.php?topic=37258.0
* Caraick thinks that the whole dmg/applications folder issue should get stuck up in the important topics, this is like the 5th time you've saved someone, Sarva  ;D
Hey look kids, it's the antichrist Marsuveus!
What? Doesn't he just look huggable? Aw, c'mon, give him a hug.