all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Zhukov <zuav@crystax.net>
To: 21573@debbugs.gnu.org
Subject: bug#21573: (no subject)
Date: Wed, 02 Dec 2015 21:11:45 +0300	[thread overview]
Message-ID: <m2d1uobtzy.fsf@crystax.net> (raw)
In-Reply-To: <CAKS2yETB6Vd_7_=raEEa_WGBU-UzvaxuZfvpVLEESJFHLCO61w@mail.gmail.com>

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





  reply	other threads:[~2015-12-02 18:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-27  6:27 bug#21573: 24.5; file-accessible-directory-p behaves incorrectly with executable file on Mac OS X Praveen Kumar
2015-12-02 18:11 ` Alexander Zhukov [this message]
2015-12-03  7:14   ` bug#21573: (no subject) Eli Zaretskii
2015-12-03 12:23     ` Alexander Zhukov
2015-12-06  6:28       ` YAMAMOTO Mitsuharu
2021-01-03 10:44         ` bug#21573: 24.5; file-accessible-directory-p behaves incorrectly with executable file on Mac OS X Alan Third
2016-03-26 10:07 ` bug#21573: Jonas Bernoulli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2d1uobtzy.fsf@crystax.net \
    --to=zuav@crystax.net \
    --cc=21573@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.