[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18851: 24.4; emacs cannot be started if the current directory has be
From: |
Eli Zaretskii |
Subject: |
bug#18851: 24.4; emacs cannot be started if the current directory has been removed |
Date: |
Wed, 29 Oct 2014 18:00:23 +0200 |
> From: Andreas Schwab <schwab@suse.de>
> Cc: Vincent Lefevre <vincent@vinc17.net>, 18851@debbugs.gnu.org
> Date: Wed, 29 Oct 2014 16:39:22 +0100
>
> > AFAIK, GNU/Linux does the former. The directory is not physically
> > removed until the last process that has an open file descriptor for it
> > closes that descriptor. Any attempts to reference that directory for
> > obtaining a new descriptor will get ENOENT, i.e. the OS pretends that
> > the directory doesn't exist. But existing descriptors are valid, and
> > can be used as usual.
>
> "As usual" is an exaggeration. Basically the only valid operations on
> it are fstat and fchdir. Any attempt at adding an entry to it (via
> openat) will be rejected.
Yes, any attempt to add descriptors will fail. By "as usual" I meant
using the descriptor to extract information, like fstat, readdir, etc.
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, (continued)
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Vincent Lefevre, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Andreas Schwab, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Vincent Lefevre, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Andreas Schwab, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Vincent Lefevre, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Ivan Shmakov, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Andreas Schwab, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Stefan Monnier, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Eli Zaretskii, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Andreas Schwab, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed,
Eli Zaretskii <=
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Vincent Lefevre, 2014/10/29
- bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Eli Zaretskii, 2014/10/29
bug#18851: 24.4; emacs cannot be started if the current directory has been removed, Eli Zaretskii, 2014/10/28