Sunday 22 June 2014

Mounting OSX Time Capsule shared drive on Linux

If you've been trying to mount an OS X Time Capsule disk over the network using Samba/CIFS/SMB and you've recently run into the problem: "mount error(13): Permission denied", and you KNOW the password is right then this may help. Basically you now need to inform Linux CIFS of the specific security mechanism to use (sec=ntlm). E.g. To mount the drive as root (where share_pwd is the password required to access the drive):
# mount -t cifs //server_ip/Data /mnt/Data -opasswd=share_pwd,sec=ntlm

As an alternative it is also possible to use the Netatalk package under Linux to mount the Time Capsule drive using Apple Filesharing Protocol (AFP).

PS: If you were hoping to mount the Time capsule drive that you either had plugged in or removed from inside your Time Capsule see my earlier post.

[28jun14: Updated to clarify that this regarding network mounting]