Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu May 25, 2017 1:05 am

All times are UTC




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Sat Jan 07, 2012 9:40 pm 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
I have a problem triggered by saving plists since the day before yesterday which I've never had before.

It goes like this:
  • I edit and save a plist. It almost doesn't matter which editor I use. I've tried Apple's Property List Editor, Plist Edit Pro and even Text Edit. Each of them triggers the problem. (The problem is not triggered by PageSpinner, another editor I have on my HD. I don't know why not.
  • Next time I try to open this plist with any editor, I get a finder error message in two alert boxes. The first one says "application not found", the second one says "unable to finish the task, unknown error (-43)". The plist is apparently corrupted and doesn't open again.
  • I try to move the broken plist to the trash. The finder reacts with another error box, saying "unable to finish task, because at least one needed object couldn't be found (error -43)".
  • I click on the error box, making it disappear.
  • From then on the plist is alright again, I can open, edit, or delete it.
The problem is absolutely persistent, it happens every time I'm saving a plist. I can do nothing with it until I unsuccessfully try to delete it. After that it is accessible again and everything seems back to normal. But the next time I save this or another plist it's happening again.

I am totally puzzled. Something like this has never happened before. I have shut down and restarted the computer a couple of times, hoping that it would sort itself out. It didn't. Only plists are affected, as far as I can tell.

Any thoughts on what could be the culprit are highly appreciated. As you can imagine, it has become really annoying to edit shipdata or AIs. :(

(MacBook Pro, 2.4 GHz Core i5, OS 10.6.8)

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Sun Jan 08, 2012 2:20 am 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Mon Jan 21, 2008 11:41 pm
Posts: 3009
Location: The Big Smoke
Seems related to file permissions... did you install or update an anti-malware or a disk management/backup program in the last few days?
On windows that's what generally causes sudden file permissions trouble...

_________________
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)


Top
   
PostPosted: Sun Jan 08, 2012 8:07 am 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
From a search on the Apple support forums it seems indeed that the error is about file permissions. I didn't come across a similar enough example, though.

I didn't install anything before the problem started to occur, at least not to my knowledge. It came totally out of the blue.

Additionally, yesterday, just after saving a plist, PlistEdit Pro crashed. Interestingly, the plist saved just before the crash was unaffected by the error. PlistEdit Pro offered to send a crash report to its people rather than Apple, which I did. Perhaps they'll be able to make something of it.

If any of the wizards would take a look at the crashlog (although I don't know of how much use it is if you don't know the program code), I've put it on the box: http://www.box.com/s/urt9dbv4me1ma93gcc62

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Sun Jan 08, 2012 8:28 am 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
It’s a crash in user interface code that’s unlikely to be related to your problem.

_________________
E-mail: jens@oolite.org


Top
   
PostPosted: Mon Jan 09, 2012 12:38 am 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
Another—probably unrelated, but what do I know?—problem turned up. It seems that my email account has been hacked and used for sending spams last night. My webmail provider thus blocked the account and notified me (by sending me to a special page with a short explanation and a support phone number when I wanted to check the webmail). The account has since been unblocked and I found it flooded with around 200 mailer-deamon failure of delivery notices from last night. So it seems that my provider was right.

I have no idea how my account could've been hacked. I have now changed my password and run a full virus check with ClamXav, which produced a 205.5MB(!) log file with a result of 0 infected files on the one hand, but "Total errors: 143" on the other hand side. The log is far too long to even find out what kind of errors that could be. It's even pointless to search for the string "error" in it, because there are so many files that have "error" in their name (one of them is "Thargorn_Threat 1.5.oxp/Models/thargoid_terroriser_frigate.dat", ironically :roll: ).

I feel a little cursed right now. :? And I'd like to apologize to everybody who got spam email last night.

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Mon Jan 09, 2012 9:22 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Fri Nov 26, 2010 9:08 pm
Posts: 1044
Location: Help! I'm stranded down here on Earth!
Quote:
It seems that my email account has been hacked and used for sending spams last night.
I found it flooded with around 200 mailer-deamon failure of delivery notices from last night.
I have no idea how my account could've been hacked.
Don't worry, it probably wasn't.

A spammer merely used forged email headers and it was your turn to be used. You will get a few hundred failure notices over the next 7-14 days, a few out-of-office messages too, then it will stop.

It is very unlikely they actually hacked into your account to do this.

_________________
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company :D
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.


Top
   
PostPosted: Tue Jan 10, 2012 11:17 am 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
Just now the same thing as described above happened with a JS-script edited and saved with Dashcode.

As it's about file permissions I began to wonder whether the location of my AddOns folder could perhaps matter. I had moved it to ~user/Library/Application Support/Oolite/ (which I created) a couple of months ago when I was using both the latest release and trunk, and wanted both of them to access the same OXPs without having to maintain them at two different locations. Before that I used to have the AddOns in Applications/Spiele/Oolite 1.nn/ right next to the application icon.

Now that the second type of file began to make trouble when edited while residing inside ~user/Library/Application Support/ I moved the whole AddOns folder back to Applications/Spiele/Oolite 1.76/. And what can I say? The problem seems to be gone.

So it seems that I just can't edit files inside my own user's Library. I believe that I could for a while, but now I can't anymore.

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Tue Jan 10, 2012 12:21 pm 
Offline
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
User avatar

Joined: Sat Jun 16, 2007 3:48 pm
Posts: 5536
Location: Netherlands
Quote:
So it seems that I just can't edit files inside my own user's Library. I believe that I could for a while, but now I can't anymore.
Strange, as I always edit the oxp files directly that are in my users library. And you are on OS 10.6, like me.
Starting with OS 10.7 the user library will be hidden by default and needs trick to open as I understood, but thats not the case with you. Have you looked at the permissions for the addOns folder or any folder higher in the tree? Or ran disk utility to check all the permissions.

_________________
UPS-Courier & DeepSpacePirates & others at the box and some older versions


Top
   
PostPosted: Tue Jan 10, 2012 2:04 pm 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
I have r&w permissions for all files and folders involved.

"everyone" has r&w permission for the individual .plist and .js files, read only permission for the AddOns-folder and the Oolite-folder inside Application Support, but no permissions for the Application Support folder and the Library folder itself. This seems to be true for most folders inside Application Support, and also for most other folders inside the Library, and for all folders in my user folder.

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Tue Jan 10, 2012 2:52 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Jan 30, 2010 4:21 am
Posts: 551
Location: northern Germany
Quote:
...and wanted both of them to access the same OXPs without having to maintain them at two different locations.
Would this not come handy ?
en.WP : alias (Mac OS)


Top
   
PostPosted: Tue Jan 10, 2012 4:12 pm 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
Quote:
Quote:
...and wanted both of them to access the same OXPs without having to maintain them at two different locations.
Would this not come handy ?
en.WP : alias (Mac OS)
Not sure whether it would work for Oolite search paths.

<tries it out>

Nope, it doesn't.

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Wed Jan 11, 2012 7:19 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Jan 30, 2010 4:21 am
Posts: 551
Location: northern Germany
ah, sorry. :(
I had expected MacOS to handle symlinks and the likes even better than windows/ ntfs do.

bummer!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited