Jekyll On Windows Bash: Permission denied @ rb_sysopen

I was following the instructions in the Jekyll documentation page, after installing Jekyll in bash for Windows(Ubuntu), I ran Jekyll new my_blog, like in the manual, and until that moment was fine, it created the folder structure in /mnt/c, the files were there, but when tried to run either jekyll build or jekyll serve I got this error:
jekyll 3.5.1 | Error: Permission denied @ rb_sysopen - /mnt/c/Documents and Settings

Any Help?

1 Like

Try a different folder. I use /mnt/c/Users/your-username/Projects.
You don’t have to use a “Projects” folder but I’m pretty sure it has to be at least to /mnt/c/Users/your-username.

1 Like