jagregory/pandoc-docker

Cannot read from the current directory

mcepl opened this issue · 0 comments

mcepl commented
matej@mitmanek: madr (master %)$ sudo docker run -v $(pwd):/source jagregory/pandoc -f rst -t html5 jak_cirkev_neumira_EN.rst -o jak_cirkev_neumira_EN.html
pandoc: jak_cirkev_neumira_EN.rst: openFile: permission denied (Permission denied)
matej@mitmanek: madr (master %)$ sudo docker run -v $(pwd):/source jagregory/pandoc -f odt -t rst  jak_cirkev_neumira_EN_AndrewEdits-rejected.odt -o jak_cirkev_neumira_EN_AndrewEdits-rejected.rst
pandoc: jak_cirkev_neumira_EN_AndrewEdits-rejected.odt: openBinaryFile: permission denied (Permission denied)
matej@mitmanek: madr (master %)$ ls -l
total 66844
-rw-rw-rw-. 1 matej matej    71687 Apr  1 11:27 jak_cirkev_neumira_EN_AndrewEdits-rejected.odt
-rw-rw-r--. 1 matej matej   133480 Nov  8 12:32 jak_cirkev_neumira_EN.rst
matej@mitmanek: madr (master %)$ 

(many filenames removed to keep the list short)

I guess, I am not getting something fundamental