summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 8c40734ce4..30cf9cb016 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -222,6 +222,11 @@ int dos_mode(int cnum,char *path,struct stat *sbuf)
result |= aHIDDEN;
}
+ if (is_hidden_path(path))
+ {
+ result |= aHIDDEN;
+ }
+
return(result);
}