KB Article #177518

Allowing access to files created by Cygwin for Windows' Users and Groups

When a file has been created by Cygwin on a NTFS file system, the file is with POSIX-like permission. As a result, the file could be accessed only by specific user and group, although the folder where the file is located is accessible for multiple users and groups.


Resolution

In order to allow access to files created by Cygwin for all required users and groups, follow the steps below:


1. Right click on Computer, then select Properties. In the new window, click on Advanced System Settings. Select the Advanced tab and click the Environment Variables button.


2. Under System variables, add a new variable as below:


Variable name: CYGWIN

Variable value: nontsec


3. Restart the operating system.