[ckan-dev] Problem creating resources after deploy

Harald von Waldow harald.vonwaldow at eawag.ch
Mon Nov 21 10:47:33 UTC 2016


Hi Lucia,

yes, 'www-data' is the right owner. I also have set the group-owner to
'www-data'.

> Is it there some other directory I should change ownership or rights?
I guess you should also chown -R www-data:www-data
/data/ckan/default/storage.

Best,
Harald

On 2016-11-21 11:32, lucia.espona at wsl.ch wrote:
> Dear all
> 
> I just deployed my current CKAN instance following the instructions in
> http://docs.ckan.org/en/latest/maintaining/installing/deployment.html.
> Everything seems ok, except that I cannot create resources:
> 
> [Mon Nov 21 11:15:28.580885 2016] OSError: [Errno 13] Permission denied:
> '/data/ckan/default/resources/fba/2f6'
> 
> The parent folder has owner 'espona' (my user), should I change the
> ownership to 'www-data'?
> I found a similar wokaround here for an older version:
> https://github.com/datagovua/ckan-vagrant-chef/issues/6
> 
> chown -R www-data /data/ckan/default
> 
> Is it there some other directory I should change ownership or rights?
> 
> Best,
> 
> Lucia
> 
> _________________________________________________________
> 
> Dr. Lucia Espona Pernas
> 
> Swiss Federal Institute for Forest, Snow and Landscape Research WSL
> Hauptgebäaude Labortrakt (HL C21)
> Zürcherstrasse 111
> 8903 Birmensdorf
> Switzerland
> 
> +41 44 739 28 71 phone direct
> +41 44 739 21 11 reception
> 
> www.wsl.ch <http://www.wsl.ch>
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 

-- 
Harald von Waldow
Eawag
ICT Services
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161121/c8fc9669/attachment-0003.sig>


More information about the ckan-dev mailing list