[Top][All Lists]

[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: Sun, 04 May 2014 19:24:39 +0300

> From: Philip Hodges <address@hidden>
> Date: Sun, 4 May 2014 15:24:35 +0200
> I came across a post that confirms my suspicions that:
> - the _stat st_mode bits really cannot be trusted to give a meaningful 
> answer, no matter whether it comes from Windows or cygwin.
> - it is not worth calling GetFileSecurity (which is what I meant by 
> "something like GetFileAttributes" *) and trying to reproduce the 
> interpretation of the ACL information
> - the best way is to find out if searching a directory will succeed really is 
> to actually try it
> http://stackoverflow.com/questions/3449465/find-the-permissions-of-a-file-in-windows

You still didn't provide any details about your particular situation
which triggers this problem.  Would you _please_ do that?

If is very hard to conduct a meaningful discussion without a clear
understanding of the problem.  Maybe you are right in your analysis,
but without actually seeing the ACLs of the related directories, we
cannot be sure that your analysis is correct and complete.  Given the
details, we could reason about the problem and maybe consult with some
experts if the knowledge we have here is insufficient.  That would
make this discussion much more productive, and a satisfactory solution
will probably be found quickly enough.

Thanks in advance.

reply via email to

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