I'm trying to mount an apple airport HD on a Raspberry Pi2 using raspbian
I managed to mount the drive using this afp command (doesn't work as user pi):
sudo mount_afp afp://user:password@192.168.1.71/Data /mnt/data
That worked, however, now I can only see what's at /mnt/data when logged as root...
as 'pi', the command 'ls -la' gives me this:
d????????? ? ? ? ? ? data
'sudo ls -la' gives me this:
drwxrwxrwx 24 root root 772 Nov 13 19:08 data
I tried to change permissions on the mount point (/mnt/data) using chmod and chown (as root):
chown pi:pi /mnt/data/
chmod a+rwx /mnt/data
and I get this:
changed ownership of `/mnt/data/' from root:root to pi:pi
but it doesn't work. if I do 'ls -la' as user pi I again get:
d????????? ? ? ? ? ? data
I can live without mounting the drive as user pi but why am I not allowed to do it?
More importantly how can I change the permissions on the mount point?
Any ideas? Thanks