Hello,
Like the title says. The install program does NOT get this error when installing a file with custom permissions to another location.
I checked my permissions and have full control of this directory in windows.
Below is a series of commands I issued to illustrate what I am talking about.
Thanks for any help!
johnd@johnd-VAIO MINGW64 /c/Users/johnd/Downloads/mxe
$ install -m 444 -d usr/readonly/
install: cannot change permissions of ‘usr/readonly/’: Permission denied
johnd@johnd-VAIO MINGW64 /c/Users/johnd/Downloads/mxe
$ ls -ld usr/readonly/
drwxr-xr-x 1 johnd None 0 Dec 21 09:22 usr/readonly/
johnd@johnd-VAIO MINGW64 /c/Users/johnd/Downloads/mxe
$ install -m 444 testfile usr/testfile2
johnd@johnd-VAIO MINGW64 /c/Users/johnd/Downloads/mxe
$ ls -l usr/testfile2
-r--r--r-- 1 johnd None 0 Dec 21 20:49 usr/testfile2
johnd@johnd-VAIO MINGW64 /c/Users/johnd/Downloads/mxe
$ whoami
johnd
johnd@johnd-VAIO MINGW64 /c/Users/johnd/Downloads/mxe
$
Forgot to add this is on Windows 10.
Also "chmod 444 usr/readonly" does NOT give an error, but also does not actually change the permissions after it has been executed.