Saturday, December 06, 2014

OS X - moving files between users on one machine - how Apple expected this to work (13 years later)

I think my first version of OS X was 10.1 - “Puma” - probably in the fall of 2001, at the dawn of the Forever War. I certainly remember Jaguar.

OS X had roots in BSD Unix, so it was naturally multi-user with UNIX style permissions from the start. The multi-user bit has worked well, the permissions bit not quite so well. Windows style permissions have always been less troublesome than Mac/Unix permissions.

Maybe that’s why it has taken me 13 years to figure out how to share files between users without having to geek-out and explicitly change permissions (which is what I’d always done). Note that I have always kept a single admin user account separate form the accounts I and other family members use and my personal account is non-admin (which partly breaks Google software btw, Google expects Mac users to be admins) [2].

It goes like this:

  1. Ted logs into Ted account.
  2. Ted creates a folder in /Users/Shared with files for Alice.
  3. Alice logs into Alice account.
  4. Alice copies folder from /Users/Shared to Alice Desktop.

This is what’s happening to permissions…

  1. The folder in Shared, and all files in that folder, are Read & Write for Ted, Read only for everyone else.
  2. After the copy operation, the folder and files on Alice’s desktop is Read & Write for Alice, Read only for “everyone” [1].
Note Alice can’t delete the folder in /Shared, only Ted or an Admin can do that. (Since most Mac users run as Admin they don’t know this.)
 
There you go, it’s documented at last. Not that many people will ever need to know! Most Mac geeks run as admin, so they can probably work with the Shared folder directly.  Or, more often, they just use Google Drive or Dropbox to share files [3]. Non-geeks don’t even see the Shared folder — Apple has deprecated its use in Mountain Lion and later; Apple expects file share to be mediated by iCloud rather than a local file system.

- fn -

[1] Except for OS X veterans who have been infected by Apple’s “fetching forever” viral bug. We get someone else called “Fetching” with Read Only access.

[2] This has worked well for me, and I like the extra security layer it provides. It’s also a quick test of cruddy software — if the app won’t run well without admin privileges it’s a shoddy app. Google’s software is the annoying exception - a shoddy bit of Mac software I use anyway.

[3] We are a Google Apps centric family, so we share with Google Drive.

Friday, December 05, 2014

Troubleshooting iTunes misbehavior - move the library

I’ve had an outbreak of iTunes and iOS sync misbehavior lately. I’m not the only one.

While I wait for Apple to fix their bugs [1] I figured I’d try a refresh of my iTunes Library. It’s unlikely to hurt, and I have abundant backups. [2]

It’s a very old trick — so old I’d all but forgotten it. You just move your iTunes Media folder (advanced prefs, organize, etc). I’ve done this a few times over the past 10-12 years and it’s generally worked well. It’s really a copy, not a move, so if everything is fine you can delete your old files [3]. You need a lot of disk space of course, but external drives are cheap these days.

During the move it’s a good idea to turn off backup, especially Time Machine. Otherwise you’ll run into drive churn slowdowns. Just be sure to create a reminder to turn backup on again the next morning. (On my system this takes hours to complete, so I run it overnight.)

I figure if there are any file or database corruption problems this might clear them up. At least it ensures that everything has been touched by the current (icky) version of iTunes and all files have been freshly written to disk.

- fn -

[1] Given all of Apple’s recent software quality problems, I sometimes wonder about industrial sabotage.

[2] I’m at the point where I’m looking for hardware issues. One trick is to switch to WiFi sync — eliminates issues with USB cables, USB hub, USB ports, etc.

[3] I like to rename the original folder and let it sit for a few weeks. I create a reminder to delete it then.

Update 12/6/14

The library move seemed to go as smoothly as ever. Subsequent syncs were quick and trouble free, but only time will tell if anything has truly improved.

Monday, December 01, 2014

One theory on what is so screwed up with iOS 8.1.x and iTunes 12 synchronization

This comment on a thread about the hot mess that is iTunes 12 / iOS 8.1.x sync fits my theory…

Revisiting iTunes/iOS sync issues | The Robservatory: "incomplete syncs due to bad disk sectors in just a couple of songs (apparently when it hit the bad sectors it quit entirely–and silently–rather than moving on to the next song)"

My theory is that there have always been bugs and problems with iTunes sync, but when an error occurred iTunes moved to the next operation. It didn’t quit or hang. It also didn’t log anything useful to Console.

Now iTunes still doesn’t log anything useful to Console, but it doesn’t continue. It just quits the sync operation (might move to next one).

I hate you Apple.

Sunday, November 30, 2014

Aperture Tips: Work around for lack of multiple windows - "Recent Items" filter on Library

One of my biggest Aperture frustrations is the inability to open multiple Projects or Album windows and drag and drop files between them. You can drag images from a Project or Album to another, but finding targets amidst hundreds (thousands) of albums and targets is very hard.

The “Favorites” and “Recent Items” filters in Library search can help:

Screen Shot 2014 11 30 at 1 43 52 PM

Right click on an Album/Project to make it a Favorite. Anything you touch/view is “Recent”. Between Favorite and Recent filters it’s much easier to navigate between Projects or Albums in a large image repository.

See also:

Bloggers label (category) feeds (and Yahoo Pipes is still around)

I decided today to start writing more about ways to use Apple’s defunct Aperture photo management app. I’ll be using it for years while I wait for Photos.app to mature, and I know it’s not going to change much.

Writing that post I wondered again if Blogger supported feeds on tags (“Labels”). I thought they did; sure enough I wrote about this feature four years ago…

Gordon's Tech: Using Bloggers undocumented label (category) feeds and Yahoo Pipes to create a tech opinion feed out of Gordon's Notes

… To start with, here's the label for "technology"

http://notes.kateva.org/search/label/technology

and here's the feed (Atom) following the above pattern

http://notes.kateva.org/feeds/posts/default/-/technology

The only new development in the past four years is that this is now an official feature. Unfortunately the Feeds still don’t get a useful name.

I wrote about Yahoo Pipes in the same blog post; Pipes was the IFTTT of its day (but far more ambitious). Turns out Pipes is still around; things that are useful but abandoned tend to be stable and cheap to maintain (last Twitter post was 7/2013 though — I wouldn’t build a mission critical operation on Pipes).

Aperture Tips: Introduction to a series of posts

As we all know Aperture has been “sunset”. We think that sometime in 2015 Apple will “ship” something called Photos.app for OS X. It will be a partial regression from iPhoto; it may have some interesting new features.

Assuming Apple gets its decrepit application software division into working order we might get a viable Aperture 3.5x replacement based on an advanced version of Photos.app  sometime in 2018 [1]. We don’t know if Apple will continue to ship Digital RAW compatibility Updates, but we received a Mavericks update just two weeks ago. It’s not inconceivable that Apple will provide Aperture 3.5 compatible RAW updates through 2016. (Aperture is still being sold, and even Apple is likely to provide updates for 1-2 years following end of sale.)

Since there’s no exit from Aperture (or iPhoto) [3] this means I’m expecting to use Aperture for another 4 years. During that time I’ll be still be learning new techniques and workarounds; Aperture is an awesomely power application [2], even if it is now years behind the cutting edge of image processing. In the worst case scenario I’ll buy Lightroom for RAW image development then drop output files into Aperture [4].

I don’t expect Aperture books and web sites to last long though, so I’m planning to put together my own series of tips and tricks based on what I read elsewhere on the web and on a book I’ve just bought. I’ll be going the archives of some old Aperture blogs like:

The tips will show up in the Aperture Tag, you can even use a label feedhttp://tech.kateva.org/feeds/posts/default/-/Aperture.

- fn -

[1] Based on how long it took Apple to produce a healthy version of Aperture in the first place.

[2] And it’s no longer terribly buggy. The main Aperture bug I run into now is the dangerous Empty Project / Empty Album bug. It’s not that frequent, but  beware deleting Projects that show no images!

[3] Strong data lock. Migration to Lightroom was once laughable, but see Aperture Exporter.

[4] Remember JPEG 2000? Or Windows Media Photo / HD Photo / JPEG XR? DNG (TIFF+XMP metadata)? I might go for DNG assuming I can make Lightroom output TIFF DMG per Aperture’s expectations. Good reference here, note the LOC and several other institutions favor JPEG 2000.

[5] I missed the transition to the new blog! I have to add the current one to Feedbin.

See also

Saturday, November 29, 2014

Yosemite features that are at least mildly interesting

Yosemite’s reputation in the Mac geek community seems to be somewhere between Lion and Mavericks — well behind Snow Leopard. So I’m happy waiting for at least two more point releases — probably summery 2015.

This is particularly easy because there are so few things in Yosemite that interest me.

There’s a downside though — by the time I get to Yosemite nobody will be talking about interesting features. So I’m creating this blog post to keep track of the things I am (mildly) looking forward to using. I’ll update it over time.

Super-advanced tips for Mac OS X Yosemite (UPDATED) - How to - Macworld UK

35 “super-advanced tips”, and maybe two are interesting (for me). Some of the more interesting tips are about disabling Yosemite features.

… Turn tags into stacks

Stacks are the special folders at the right of the Dock that spring up when clicked. It’s always been possible to drag your own folders down there to create your own stacks, but in Yosemite this feature is extended to tags – the color-coding system introduced with the previous version of OS X that lets you organise files.

Just drag a tag from where they’re listed in the sidebar of a Finder window to the right-hand side of the dock near the Trash. A space should open up for you to drop the icon, and clicking on that stack in future will show only files or folders that use that particular tag….

…. If you search for something using the new Spotlight in Yosemite, a folder may be shown in the list of results.

What’s not obvious is that you can use the cursor keys to highlight this folder, then tap the Tab key to move the highlight over to the right of the window so that you can select an item within it.

Hitting Enter will open any highlighted entry. Tapping Shift+Tab will move the highlight back to the left-hand column….

… Turning off making/receiving phone calls can be done by opening FaceTime on your Mac, opening the Preferences dialog box (Cmd+,), and removing the tick alongside IPhone Cellular Calls. Turning off text messaging must be done on the iPhone.

Open the Settings app, then tap the Messages heading. Tap the Text Message Forwarding heading, and tap the switch alongside the name of your computer….

and

50 OS X Yosemite Tips & Tricks | Mac|Life

… Markup will instantly recognize what you're trying to draw, whether it's a lopsided circle or crooked arrow. To use it, click the menu button that appears in the top-right of the attachment when you mouse over it…

… Rename a Group of Files …highlight your files, right-click and select the “rename items” options in the contextual menu. Then select “format” in the dropdown to apply a neat new nomenclature to the whole list...

… Activity Monitor … A new tab in Activity Monitor will show you exactly how much compressed memory is being utilized so you can kill any apps that are dragging your system down. Also useful is the new column within the Energy tab that shows any apps that are preventing your Mac from going to sleep…

and 

Apple - OS X Yosemite - See everything the new OS X can do

  • iBook reading via VoiceOver much better 
  • Some Automator improvements, unclear how well JavaScript OSA will work
  • You can now drag a tag from the Finder sidebar to the Dock for quick access to all the files with that tag.[Apple actually mentions this!]
  • Mail: The Markup toolbar makes it simple to add text and shapes to images and PDFs. You can even use your trackpad to draw shapes, and Markup will intelligently tidy them up.
  • When you are iMessaging with someone, you can now start a screen sharing session from Messages.
  • Find Friends in OS X Messages: If your friends have shared their locations using their iPhone, you can follow them in Messages on your Mac. [What the heck does this mean?]
  • Preview: “You can use your trackpad to draw shapes, and Preview will intelligently tidy them up.: [The Newton did this.]
  • … f there is a book related to your search, Spotlight will show you results from iBooks along with a description… [Does this work for ePUB in file system?]
  • You can choose to have OS X updates installed automatically after they have been downloaded. 

Dang, but that’s a pretty short list of worthwhile features. Against it, a list of things that have been removed (much harder to find):

  • Image Capture iOS delete function is gone.
  • Preview PDF handling has had some regressions

Not to mention longstanding issues that are still unfixed.

Yosemite is the least interesting OS X upgrade I can recall.