summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-07 02:27:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:27 -0500
commit0a78e20bf0a62cb57f51ddd45674b07f70e26da8 (patch)
tree6c797f0a948bfd761c8bfe6d40788d7989e2b357 /source3
parent235b0f97f280cd0b3d7941969cf154a89fd53775 (diff)
downloadsamba-0a78e20bf0a62cb57f51ddd45674b07f70e26da8.tar.gz
samba-0a78e20bf0a62cb57f51ddd45674b07f70e26da8.tar.bz2
samba-0a78e20bf0a62cb57f51ddd45674b07f70e26da8.zip
r21734: Fix bug #4369. Patch from David Leonard <dleonard@vintela.com>.
Jeremy. (This used to be commit 62a5c22a13001010753975442e62841ac62d8d6a)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c5
1 files changed, 5 insertions, 0 deletions
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();