[ckan-dev] File Upload Users
Sean Hammond
sean.hammond at okfn.org
Thu Oct 11 10:50:01 UTC 2012
> we're running 1.7.1
> We've implemented some kind of single-sign-on with a new repoze.who plugin.
>
> When trying to upload a file as normal user (admin or editor) following
> message appears in the log, but the message: Checking upload
> permissions ... stays
> in the browser
Hey, I've just tested CKAN 1.7.1 with the organizations plugins enabled
and file upload works fine for me, so I think we're looking for a
problem with your environment.
Some questions:
- Is this a CKAN 1.7.1 source install or package install?
- What operating system is it installed on?
- Do you have any custom auth settings in your CKAN ini file? e.g. any
ckan.default_roles.* settings?
- Are you using the local storage or the cloud storage with CKAN's
FileStore?
And some things to try:
- Make sure that the UNIX user that your web server runs as (e.g.
www-data on Ubuntu) has permission to read and write to your
ofs.storage_dir (assuming you're using local file storage)
e.g. on Ubuntu:
sudo chown www-data /path/to/your/ofs/storage_dir
sudo chmod u+rwx /path/to/your/ofs/storage_dir
sudo service apache2 restart
- Have you installed pairtree?
- Have you installed argparse?
More information about the ckan-dev
mailing list