2

I set up my Pi 3 to serve an external drive with Netatalk to access it from my Macbook. Works well, but I can't create directories with Finder. Creating files, renaming, deleting files and directories work, but not creating them. Do you know whats wrong?

> ls -l /mnt
drwxrwxrwx 1 dikti dikti 131072 Nov  3 11:14 BM

> cat /etc/afp.conf
[Global]
hosts allow = 192.168.178.0/16

[BM]
path = /mnt/BM
valid users = dikti
; also tried what follows below:
file perm = 0666
directory perm = 0777
rwlist = dikti

Edit: I use Archlinux for ARM, so Netatalk is current:

> uname -a
Linux alarmpi 4.9.59-1-ARCH #1 SMP Sun Oct 29 20:24:30 UTC 2017 armv7l GNU/Linux
> netatalk -v
netatalk 3.1.11 - Netatalk AFP server service controller daemon
Milliways
  • 62,573
  • 32
  • 113
  • 225
Dikti
  • 121
  • 4

3 Answers3

5

I was able to solve this problem by adding: unix priv = no

to the [share] section in /etc/netatalk/afp.conf.

Inspirational source: http://www.gattis.org/Work-and-Tech/operating-systems-and-applications/backup/time-machine-ubuntu

Situational details:

Client: macOS High Sierra 10.13.6 
Server: Raspberry Pi model 4B running Raspbian 10.
user3097732
  • 51
  • 1
  • 2
0

In your macbook terminal do:

cd (drive name)

than try

mk (directory name)

If it doesnt work try using sudo before the command.

goldilocks
  • 60,325
  • 17
  • 117
  • 234
Darkest N2O
  • 368
  • 1
  • 6
  • 15
0

You should not be using netatalk at all. Apple has deprecated AFP in favor of SMB. So samba is the way to go. As of OS X 10.11 Yosemite I also experience issues with other AppleTalk devices. On my old Lacie EthernetDisk mini I could not even connect using AFP any more.

user49015
  • 2,712
  • 17
  • 23