I use cygwin to transfer files between linux and windows machines. Everytime I transfer a file to a windows machine it adds an extra shared user icon on the file's or folder's icon itself. This also happens if I create a file from cygwin on windows using pretty much any command: echo, vim, nano, cat.

This is what the cygwin-created folders (and files) look like. This is what a normal folder (or file) looks like.

I'm thinking it has to do with permission, because I'd have to chmod it everytime if I want other applications to access the files or folders on windows.

How can I tell cygwin to create regular ol' files just like a user or any program would?


Whew! I finally solved it.

If anyone else is having this trouble on Cygwin 1.7* do the following:

 vim /etc/fstab

or open /etc/fstab in your favorite editor... and add this line to it:

 none   /cygdrive cygdrive posix=0,noacl 0 0

Then restart cygwin. The share icon from cygwin created files and folders should now be removed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.