scalingexcellence / scrapybook

Scrapy Book Code
http://scrapybook.com/
475 stars 209 forks source link

ls: cannot open directory /root/book/: Permission denied #51

Closed shockwavebot closed 6 years ago

shockwavebot commented 6 years ago

I use only docker, and used docker-compose to start up the containers.

When I connect to scrapybook_dev_1 container, I get this message: ls: cannot open directory /root/book/: Permission denied

Could be something related to SELinux contexts:

root@3eb13a1bf6aa:/# ls -laZ /root|grep book
drwxrwxr-x. 13 1000 1000 unconfined_u:object_r:user_home_t:s0                4096 Apr 19 15:01 book
shockwavebot commented 6 years ago

This was due to the SELinux at the host (CentOS 7). Disabling SELinux in the host solve the issue.