getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.31k stars 168 forks source link

[Cms] link(): Operation not permitted #585

Closed SebastianEberlein closed 6 years ago

SebastianEberlein commented 6 years ago

This error only happens when I use Kirby with Vagrant.

You should be able to reproduce it like this:

  1. Download the Beta 1 Starterkit and put the Vagrantfile in the root directory. You can use this simple, publicly available Vagrantfile or my Vagrantfile I used for many Kirby 2 projects.
  2. Start the VM with vagrant up.
  3. Navigate to the »Projects« page or upload an image in the panel. You should see the following errors:
1

When I try to open the link to the requested image directly:

2

Uploads in the panel throw this error. The image is uploaded to the »content« folder, but not copied to the »media« folder:

3

I already tried adjusting the permissions in Vagrant, but nothing worked so far…

bastianallgeier commented 6 years ago

✅ I fixed this by copying the files instead of linking.