2
« on: November 01, 2010, 12:47:30 am »
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.