[PATCH] Re: Parent directory's permissions in mini-status



Hi Sergey,

On Thu, 2005-03-31 at 13:00, Sergey Ilyevsky wrote:
It seems that mc shows wrong permission for parent dir in mini-status,
or in long-file (or user-defined) listing mode.

Just discussed this with Roland Illig who came up with a patch that
seems to work correctly. I further fixed his patch to not need
add_dotdot_to_list() anymore by moving the relevant parts to
set_zero_dir(). I hope my assumption that set_zero_dir() is never called
with an empty list is correct. This way we can safely drop the
list->size check that was in add_dotdot_to_list().

Please verify the correctness of this patch.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

Attachment: dotdotdir.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]