[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] segmentation fault when trying to browse to an inaccess
From: |
Rishabh Dave |
Subject: |
Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory |
Date: |
Sun, 12 Jun 2016 22:07:34 +0530 |
There is one scenario where I felt a message will be /better/ even
though things might self-evident. (The recipe is at the end, in words:
) If we run src/nano, open the browser, with second terminal remove
access permission for entire nano repo and then if we continue to
browse in (first terminal's) nano's browser info becomes "--" for
every directory/file that gets highlighted. We could print a message
like "Lost permission for current directory". However, printing
happens on browser_refresh() which operates only on filelist, so it is
difficult to know there that we have lost permission to one, multiple
or all files in there. I did try but wasn't successful in my limited
time. (Neither I know if it is that useful.)
Recipe:
In first terminal where path is git repo,
src/nano
^R^T
On second terminal where path is parent directory of git repo,
chmod a-x nano
In first terminal ,
Now changing selection makes info "--" which show "(dir)" for
directories and size for files.
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, (continued)
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/05
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Rishabh Dave, 2016/06/07
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/07
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/08
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Rishabh Dave, 2016/06/08
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/08
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Rishabh Dave, 2016/06/08
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/08
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Rishabh Dave, 2016/06/09
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/11
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory,
Rishabh Dave <=
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/12
- Re: [Nano-devel] segmentation fault when trying to browse to an inaccessible directory, Benno Schulenberg, 2016/06/16