tlienart / FranklinTemplates.jl

Simple website templates for Franklin.jl

Home Page:https://tlienart.github.io/FranklinTemplates.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows 11 ERROR: IOError: chmod("mySite\\.gitignore", 0o644): invalid argument (EINVAL)

dstorti opened this issue · comments

I tried creating a sample site as described on franklinjl.org, but when I execute the newsite() command, I get an error related to chmod. I spotted an earlier thread related to this involving a Windows 10 user, so I tried following the suggestions there (activating an environment inside of a dedicated folder and installing Franklin in that environment) but I keep getting the error.

Any suggestions for how to proceed would be appreciated.

hello, thanks for the report, can you please copy paste the full stacktrace, your Julia version and the result of ] status? I suspect the problem is with

chmod(joinpath(root, file), 0o644)
for you.

Following this I might get you to try a dedicated version of FranklinTemplates that has a specific behaviour for Windows.

PS: would you happen to have different drives or have installed Julia on a dedicated drive (referring to julia-vscode/julia-vscode#646 (comment) due to the EINVAL thing but not sure about this)