delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/19/04:39:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type
:content-transfer-encoding; q=dns; s=default; b=JXqZCR3PcELIteoe
A7E5i6QeCbRyD0uTmZMeqTuiT9yMsZzFTlnJU2g4pipYQxr17RntIOUJMCZc4YdR
T3WWtv3MaIEqeTad+ckaSgLzgzsWGCOO9UzRSozH3kmeP3El1zVwf+4IrgjM3av3
fU2PC8TksHfVT/LyYeK9B5dgk0k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type
:content-transfer-encoding; s=default; bh=jdAQCotqbOEfLMFTHfG/Ex
C20sQ=; b=SNajCHP9Aw0jXFlWerF8Vqv0pjkJQb9qsbViN2D3Jc2gbnJDqBjpBn
kkAe4m2EM36SbhpX63kh+NkcBd3iB/VuB2Ln51+19/UujKANHpF/pKmhrzcHi7pY
1bft4yjX6I7JMO7tCY9xstEjDGlqW/I4ewz3rXy8WaBqK8YxVq/eA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=emulation, attribution, H*i:sZR, H*i:sk:Hqaf8-7
X-HELO: mail-wm0-f51.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=5vjviCLC9tiAxDtre9YINj5+GjOiBIHZPeADPtO/FoE=; b=bfVvDkHtTiOk0dqsaOfoolqYbzGqz1GhEWRByf/dFGuSdXKjgT9IFHdup5zinyCSnP 0kh9w3uXC6iKfZnpx4wDY7PSUhHGNE3mEmBCzG/R+NEIS/Fp7kQa/cyhuCEUh9Ws/Njg uqwc/iaK2hey4LNuA4brVq2WLyUhCoCJXcNvLqvk1eD+sWBvBQeoF6c1TduAf1mxUaF0 IS8ePB3kbD/nPE41lQ5i+DeM+qxQ7jjH5IyrXYLldqTEB4+eZUsadHyY0u8RNBj4UQ0a XR+g07CiIxYdLAIruqRKurgxipI8LDSokeNLqh4XJEFqHTIVmQd3cQxMeiwVLEz0OyWP dQKQ==
X-Gm-Message-State: AG10YOSZVQj95MP3NUE4lpf6cYlksaxyfkjCPrTkoTJVlKvRP20tP7mShLPbmZw6AJSnq1AWT5v6olqpsGPLXw==
X-Received: by 10.194.77.167 with SMTP id t7mr11629491wjw.90.1455874762217; Fri, 19 Feb 2016 01:39:22 -0800 (PST)
MIME-Version: 1.0
Reply-To: fracting AT gmail DOT com
In-Reply-To: <CALd+sZR=HSUoyh6VYCqDebPiA7fXQkQspycT=Hqaf8-7hTbRog@mail.gmail.com>
References: <56BF9370 DOT 80303 AT glup DOT org> <CALd+sZR=HSUoyh6VYCqDebPiA7fXQkQspycT=Hqaf8-7hTbRog AT mail DOT gmail DOT com>
From: Qian Hong <fracting AT gmail DOT com>
Date: Fri, 19 Feb 2016 17:38:42 +0800
Message-ID: <CALd+sZS=U_0hYRTQCs1gq2r22E9mWbFL1j=Bdhc+Gn5bJgr1Qg@mail.gmail.com>
Subject: Re: mktemp() fails on Wine 1.9.3 + Cygwin 2.5.0-0.2
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u1J9dcPv014906

Wine use xattr to store Windows ACL information as extended
attribution, (well, it's an emulation for compatibility reason...)

fracting AT fracting-ThinkPad-Edge-E431: ~/.wine/drive_c/cygwin$
$ getfattr tmp
# file: tmp
user.DOSATTRIB
user.wine.sd

fracting AT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019