From 0a78e20bf0a62cb57f51ddd45674b07f70e26da8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 7 Mar 2007 02:27:54 +0000 Subject: r21734: Fix bug #4369. Patch from David Leonard . Jeremy. (This used to be commit 62a5c22a13001010753975442e62841ac62d8d6a) --- source3/client/client.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 605beb2e06..5a1a812fe9 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -714,6 +714,11 @@ static int cmd_dir(void) pstrcat(mask,"*"); } + if (showacls) { + /* cwd is only used if showacls is on */ + pstrcpy(cwd, cur_dir); + } + do_list(mask, attribute, display_finfo, recurse, True); rc = do_dskattr(); -- cgit