Wine use xattr to store Windows ACL information as extended attribution, (well, it's an emulation for compatibility reason...)
fracting@fracting-ThinkPad-Edge-E431: ~/.wine/drive_c/cygwin$ $ getfattr tmp # file: tmp user.DOSATTRIB user.wine.sd fracting@fracting-ThinkPad-Edge-E431: ~/.wine/drive_c/cygwin$ getfattr -n user.wine.sd tmp # file: tmp user.wine.sd=0sAQAUEAAAHAAAABwAAAAAAAAA7AAAAAEFAAAAAAAFFQAAAAAAAAAAAAAAAAAAAOgDAAABBQAAAAAABRUAAAAAAAAAAAAAAAAAAAABAgAAAgDsAAkAAAABABQAAQACAAEBAAAAAAAAAAAAAAAAJAD/AR8AAQUAAAAAAAUVAAAAAAAAAAAAAAAAAAAA6AMAAAAAJACAABIAAQUAAAAAAAUVAAAAAAAAAAAAAAAAAAAAAQIAAAEAJAB/AQAAAQUAAAAAAAUVAAAAAAAAAAAAAAAAAAAAAQIAAAAAFAC/ARIAAQEAAAAAAAEAAAAAAQsUAAAAAgABAQAAAAAAAAAAAAAACxQA/wEfAAEBAAAAAAADAAAAAAALFACpABIAAQEAAAAAAAMBAAAAAAsUAKkAEgABAQAAAAAAAQAAAAA= As a temporary hack, you can remove ~/.wine/drive_c/cygwin/tmp from Linux and re-create using Linux mkdir (rather than Cygwin mkdir). Or use Linux's `fgetxattr` to clear user.wine.sd attribution of ~/.wine/drive_c/cygwin/tmp, this should make `mktemp` and gcc work. I'm still investigating what is the root cause. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple