summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-01 19:02:43 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-01 19:02:43 +0000
commit738d29667f9cd1ce312ec011f5e37ce584d7173d (patch)
tree7ec2f0375da2b8f5ea17f0952a7c046d0a274606 /source3/smbd
parent29ac1823dfce39f2259ff1994aa6145ea6009154 (diff)
downloadsamba-738d29667f9cd1ce312ec011f5e37ce584d7173d.tar.gz
samba-738d29667f9cd1ce312ec011f5e37ce584d7173d.tar.bz2
samba-738d29667f9cd1ce312ec011f5e37ce584d7173d.zip
added "hide files" option.
lkcl (This used to be commit 6e594ce0e5a3af5e7311380d18ff0d19ba9698a7)
Diffstat (limited to 'source3/smbd')
-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);
}