This is the mail archive of the
mailing list for the Cygwin project.
Re: mktemp() fails on Wine 1.9.3 + Cygwin 2.5.0-0.2
- From: Qian Hong <fracting at gmail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Fri, 19 Feb 2016 17:38:42 +0800
- Subject: Re: mktemp() fails on Wine 1.9.3 + Cygwin 2.5.0-0.2
- Authentication-results: sourceware.org; auth=none
- References: <56BF9370 dot 80303 at glup dot org> <CALd+sZR=HSUoyh6VYCqDebPiA7fXQkQspycT=Hqaf8-7hTbRog at mail dot gmail dot com>
- Reply-to: fracting at gmail dot com
Wine use xattr to store Windows ACL information as extended
attribution, (well, it's an emulation for compatibility reason...)
$ getfattr tmp
# file: tmp
fracting@fracting-ThinkPad-Edge-E431: ~/.wine/drive_c/cygwin$ getfattr
-n user.wine.sd tmp
# file: tmp
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple