This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mktemp() fails on Wine 1.9.3 + Cygwin 2.5.0-0.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]