Files created by the Panel - permissions

Hello, I am quite new to Kirby - setting up a website with it and I really like it.

Just ran into a problem I couldn’t solve. When I create new pages manually in my text editor and upload it to the server, everything works fine. But when I create a new page through the panel (which the final users of the website are supposed to do) I get content files with file permission 640. This means they can be changed and deleted through the panel - but not from outside the panel. With FileZilly or other FTP programs I can’t modify or delete the files any more.

Is there a way to tell Kirby to create files with higher permissions (755) so they can be edited from outside the panel? Or is there something I am missing?

Looking for help!


Hi and welcome to Kirby.

You might want to check out this post, but I don’t know if that has any influence on the files inside the folder.

After reading up on umask it seems that this setting defines the read/write permissions of folders and files:

In general, folder permissions should be 755, and file permissions 644.

Edit: An option would be to change the file permission settings via a hook whenever a page is created via the Panel.