GNU bug report logs -
#21573
24.5; file-accessible-directory-p behaves incorrectly with executable file on Mac OS X
Previous Next
Reported by: Praveen Kumar <kprav33n <at> gmail.com>
Date: Sun, 27 Sep 2015 16:16:02 UTC
Severity: normal
Found in version 24.5
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 21573 <at> debbugs.gnu.org (full text, mbox):
Hi!
Below are the steps I did used to reproduce the problem releated to the
bug.
Please, see https://github.com/magit/magit/issues/2408 for more info.
Here the steps:
1. Create Git repo with a one file: some bash scripts with executable
bit set, f.e. script.sh.
2. Open fresh terminal. I mean close running terminal app with Cmd-Q and
run a fresh copy.
3. Run Emacs app like this: /Applications/Emacs.app/Contents/MacOS/Emacs
-Q &
4. Eval in the scratch buffer (file-accessible-directory-p
"/private/var/tmp/repo/script.sh"). The result should be 'nil'
5. Open file: C-x C-f ".../script.sh"
6. Go back the scratch buffer and eval
(file-accessible-directory-p ".../script.sh")
The result should be 't'.
7. Exit Emacs with C-x C-c
8. Run Emacs from the same terminal window as in 3.
9. Eval in the scratch buffer
(file-accessible-directory-p "/private/var/tmp/repo/script.sh")
The result should be t
NB I'm using standard terminal app that goes with OS X.
--
Alexander Zhukov
This bug report was last modified 4 years and 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.