Bruno Haible <br...@clisp.org> writes: >> But only /tmp folder can be run, or “not overwriting destination directory” >> error still occurs, why? > > Permission problems on Windows are hard to understand: The permissions > depend not only on the owner and permissions of the particular directory, > but also of all the ancestor directories of that directory.
I don't think this is a permission issue. That error is expected when passed a directory that already exists: $ ./gnulib-tool --create-testdir --dir=/tmp/my-testdir terminfo If the option passed to '--dir' exists then there will be an error. Using that example: $ gnulib-tool --create-testdir --dir=/tmp/my-testdir terminfo $ gnulib-tool --create-testdir --dir=/tmp/my-testdir terminfo /home/collin/.local/src/gnulib/gnulib-tool.py: *** not overwriting destination directory: /tmp/my-testdir /home/collin/.local/src/gnulib/gnulib-tool.py: *** Stop. This was a change we agreed upon a while ago since running --create-testdir on an already existing testdir would break things, IIRC. > I'd suggest to try Cygwin or WSL. They emulate a POSIX environment much > better than MSYS2; therefore you are much more likely to have positive > experiences with GNU software in these two environments. I have had good experiences with Cygwin, +1. Collin