[ckan-dev] [Errno 13] Permission denied: '/var/lib/ckan/ (no solution works)

Biz Tweets optweets at gmail.com
Fri Nov 9 00:05:48 UTC 2018


I set my storage folder as /var/lib/ckan.

Everytime i try to upload a file through resource create i get this error

[Thu Nov 08 23:59:50.286522 2018] [:error] [pid 23021] [remote
10.172.24.4:76] Error - <type 'exceptions.OSError'>: [Errno 13] Permission
denied: '/var/lib/ckan/resources/ecf'

Now i tried everything.

I ran all of these commands and nothing has helped.

My httpd runs on the user apache.
sudo chown -R apache /var/lib/ckan
sudo chmod -R u+rwx /var/lib/ckan
sudo chmod 777 -R /var/lib/ckan

But nothing works. Do I have some funky permissions issue going on here??

[user at ckanserverckan]$ ls -l
drwxr-xr-x. 2 apache apache 4096 Nov 8 23:45 resources
drwxr-xr-x. 2 apache apache 4096 Nov 8 23:57 storage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20181108/aa5fa3de/attachment.html>


More information about the ckan-dev mailing list