Insufficient Permission for File

I am trying to upload files in File Manager. After the file uploads I get a box with “Not permitted Insufficient Permission for File”.
I am a System Manager and I can upload the same files as attachments elsewhere in ErpNext. For File DocType I have all permissions.

If I am not wrong, files are not stored into db directly, but only the link to the file.
I guess it could be a permission problem at file system level, inside the folder where ERPNext stores files.
You should check what permission you have for the private or public folder.

1 Like

There is bug in ERPNEXT, you can see the fix here:

https://github.com/frappe/erpnext/commit/1989375be4addc783ddd9a8b5a3ef6696bd08e07#diff-dfc314176276dcbce93790e1d72dac35fd10d8de9fba95ea8fba0fc7a75207d8

Hi, Did you manage to fix it?