Category Archives: Linux

Mac OS X Finder Deleting Files on a Linux Share (Solved)

Last week I connected to my Linux desktop from my Mac laptop, and Finder wouldn’t let me copy files over to the Linux box. Even stranger, it would delete the original file on the share after stating that it didn’t have permission to access it!

The error message it kept popping up was:

The operation can’t be completed because you don’t have permission to access some of the items.

So it didn’t have permission to access or save the items, but it had permission to delete them? Clearly the error message wasn’t telling the whole story!

Even stranger: if I opened a file with an application like TextWrangler or NeoOffice, they had no problem saving it! It was only Finder that had the problem!

Now, I’ve successfully transferred files back and forth between these computers many times before, but I had changed two things recently:

  • Upgraded the Linux box to Fedora 13.
  • Installed the Mac OS X 10.6.4 update to Snow Leopard.

I didn’t have much luck searching online, maybe because I was looking for the wrong terms. The closest I came up with were discussions like this one, but they all involved a server using netatalk or other AFP file sharing implementations. I’ve been using samba (Windows-Style SMB shares) on the Linux box ever since I had some problems with Netatalk and decided that since the Mac would connect via Samba, I wouldn’t worry about it.

I idly posted the problem on Twitter. My brother replied that he’d run into the same problem (on Ubuntu, IIRC), and suggested turning off Unix extensions in Samba. That meant opening up /etc/samba/smb.conf on the Linux box and adding the following line to the “Filesystem Options” section:

unix extensions = no

I restarted Samba on the Linux box, and that was it. The Mac was able to copy files over without any errors!

I hope this post helps someone else solve the same problem.

Nepomuk

I think I finally fixed it.

This stupid “OMG Nepomuk is not running!” error has been dogging me every time I launch KMail, ever since Fedora upgraded KDE. I followed all the directions on fixing Akonadi, and nothing worked. Finally, it turned out that there was a config file telling it to load the old-style “redland” database — which doesn’t exist in current versions of Nepomuk — instead of the new “virtuoso” database.

The file was in ~.kde/share/config/nepomukserverrc and the item in question is “Used Soprano Backend.” I changed it from “redland” to “virtuosobackend” as described here and now it actually starts Nepomuk, and KMail doesn’t complain when I start it!

Someone at KDE decided to massively overcomplicate things!

*grumble*

Dissonance

  • Contrast in the waiting room at the car dealer’s service department: A sad death scene in the movie on TV vs. polka-sounding video game music from a few chairs over. #
  • *sigh* I upgraded my Linux box to Fedora 12 in hopes that it would fix sound. Instead it broke suspend/resume – which I’d rather have on this system if I could only choose one. #

Wednesday Bits and Bytes

  • I finally uninstalled I Tweet. Twidroid Pro does enough that I don’t need two Twitter clients on my phone anymore. #
  • Grr. Since the last patch day, my USB keyboard randomly stops working 2–3 times/day. System Restore would be nice…if it actually worked. #
  • I’m trying to remember when the BOFH attitude prevalent on antispam mailing lists didn’t bother me. #
  • It’s weird how suddenly reporting spam turns into a bad thing because someone (else) might make money with that knowledge. #
  • How to fix Adobe AIR in Fedora 12. #

Hear me!

A few minutes ago I was trying to fix sound on my Linux box. Nothing would play, until Katie heard it beep to notify me of a new Twitter message. I closed Twhirl and suddenly my music player worked. The song lined up? Vertical Horizon’s “All is Said and Done.” The first line of the song? “I need you to hear me.” That gave us both a good laugh.

I thought a major point of PulseAudio was to let applications share the sound card cleanly. *grumble* Sound worked fine before Fedora switched. I can’t even blame it on a bleeding-edge distribution, since from what I hear, Ubuntu has similar problems.

At least now I know (sort of) why it stopped again after applying the Complete guide to fix PulseAudio and video/audio VLC Media Player issues.