Visible symlinks in / [FIXED]

Questions, glitches, bugs and crashes
Locked
JayB
Posts: 192
Joined: Sun Jan 08, 2017 4:38 pm

Visible symlinks in / [FIXED]

Post by JayB » Tue Mar 28, 2017 10:39 pm

Not sure if this is a bug, but the symbolic links etc, tmp and var in the root directory have always been visible for me in Nimble Commander, even though their file attribute is set to "hidden".

Image

I personally don't mind showing these files. I actually believe that the "hidden" attribute introduced by Apple is total crap, and it should be ignored, i.e. Nimble Commander should only hide true invisible files by traditional Unix standards, namely the dot files like .vol

But if you choose to show some files with the "hidden" flag, you should show them all. :)

(EDIT: deleted dupe)

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Visible symlinks in /

Post by mike » Fri Apr 07, 2017 2:16 am

Ok, that's interesting.
Currently, NC figures out visibility of a symlink based on it's target properties and source filename.
Perhaps it will be better to account both source and target flags.

The problem is that NC internally stores only one set of flags per listing item (which seems to be logical).
In case of symlinks, this set of flags represents the state of symlink's target.
I can, of course, merge source and target flags in case of the "hidden" flag, but this can lead to some unobvious side-effects later.
Need to think about this problem.

Locked