From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17330: files.el cd-absolute overcome false negative from file-executable-p Date: Sun, 11 May 2014 21:43:32 +0300 Message-ID: <83tx8wtauj.fsf@gnu.org> References: <83ha51wj35.fsf@gnu.org> <536B1C56.4040307@bluewin.ch> <838uqcw8fu.fsf@gnu.org> <536F5503.4040607@bluewin.ch> <837g5suu67.fsf@gnu.org> <536FC0C2.6080300@bluewin.ch> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1399833865 25937 80.91.229.3 (11 May 2014 18:44:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2014 18:44:25 +0000 (UTC) Cc: 17330@debbugs.gnu.org To: Philip Hodges Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 11 20:44:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WjYjR-0007U6-1w for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 20:44:17 +0200 Original-Received: from localhost ([::1]:33991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjYjQ-0001sa-Ly for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 14:44:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjYjI-0001sH-MV for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 14:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjYjC-0004UW-PD for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 14:44:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjYjC-0004US-KZ for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 14:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjYjC-0003bM-4I for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 14:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 May 2014 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17330 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17330-submit@debbugs.gnu.org id=B17330.139983383313818 (code B ref 17330); Sun, 11 May 2014 18:44:02 +0000 Original-Received: (at 17330) by debbugs.gnu.org; 11 May 2014 18:43:53 +0000 Original-Received: from localhost ([127.0.0.1]:59572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjYj2-0003an-SL for submit@debbugs.gnu.org; Sun, 11 May 2014 14:43:53 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:40859) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjYiz-0003aY-Tj for 17330@debbugs.gnu.org; Sun, 11 May 2014 14:43:51 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N5F00E00ALFCZ00@mtaout28.012.net.il> for 17330@debbugs.gnu.org; Sun, 11 May 2014 21:42:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5F00D1DAM1DJ10@mtaout28.012.net.il>; Sun, 11 May 2014 21:42:02 +0300 (IDT) In-reply-to: <536FC0C2.6080300@bluewin.ch> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88923 Archived-At: > Date: Sun, 11 May 2014 20:26:10 +0200 > From: Philip Hodges > CC: rgm@gnu.org, 17330@debbugs.gnu.org > > >> I'm having a hard time understanding why you want to put so much faith > >> in functions that are not reliable now, and will be quite hard or even > >> genuinely impossible to make reliable in all of quite a large number of > >> more or less realistic test scenarios. > > > > The functions are reliable. It's just that you have some obscure > > situation with the share owner, file/directory owner, and network > > connection, and this combination bites you. It might also be a Cygwin > > issue. > > They are subject to race conditions, false positives and false > negatives. They are reliable only in the sense that they generally do > return (unless the network hangs, is there any way to stay responsive > when that happens?) and the answer is quite often a true positive or > true negative. I disagree with this, obviously. Perfectly logical and systematic behavior can appear random and "unreliable" to an observer who does not understand that internal logic. > I just skimmed through yet another tiring article about how there are > fundamental reasons why cygwin can't always get permissions and ACLs > exactly right, even without specifically mentioning remote SMB servers. Those articles are mostly trash, written by people who didn't bother to learn the subject, and instead spread FUD. > I'm quite convinced the cygwin folks would have already done it if it > was actually possible. Maybe they don't know about this. Which is why I think telling them about the problem should be a good idea. They do fix new problems they encounter; e.g., they've just learned about a problem with Microsoft Accounts, and mostly fixed it. > If it was affecting Samba (recent with SMB2?) on GNU/Linux or > Apple's own new SMB in MacOSX 10.9 (which defaults to SMB2.x) > instead of just Oracle's Solaris (likely still SMB1) then would you > still write it off as obscure? Yes. Again, it could also be a Cygwin issue, perhaps due to something that rarely happens or something new.