bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17330: files.el cd-absolute overcome false negative from file-execut


From: Eli Zaretskii
Subject: bug#17330: files.el cd-absolute overcome false negative from file-executable-p
Date: Wed, 07 May 2014 21:15:58 +0300

> From: Philip Hodges <address@hidden>
> Date: Wed, 7 May 2014 00:15:51 +0200
> 
> It's just a very ordinary samba mount from a UNIX box to Windows.
> It's not magic at all. There are no special options configured.
> With umask 027 most of the folders are 750 and regular files are 640.

Thanks, but this is not enough.  The problem is not in the (emulated)
Posix permissions, it's in the Windows ACLs.  E.g., what does icacls
report for that directory?

> The "documentation" that I had in mind was just something like:
> ... calls system functions that can conceivably produce race conditions and 
> false negatives. In case Emacs will not let you even try to cd to the 
> directory, or use packages like ediff that change to it or start a subprocess 
> with it as current working directory, you can try to overcome that refusal 
> with (defun file-executable-p (dir) "" t) or (defadvice file-executable-p ... 
> activate ...).

I prefer to solve the problem rather than ask users work around it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]