summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-02 15:01:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:51 -0500
commit58b63b65fcf3dbd14f985f99038733c8a0a2f14f (patch)
treeeb35323c2768d5f4ea472f4dfcb7bb178b076f62 /source3/smbd
parent2c1b3a072061d40f112c3f1112fd9ae08b6038e4 (diff)
downloadsamba-58b63b65fcf3dbd14f985f99038733c8a0a2f14f.tar.gz
samba-58b63b65fcf3dbd14f985f99038733c8a0a2f14f.tar.bz2
samba-58b63b65fcf3dbd14f985f99038733c8a0a2f14f.zip
r20478: Make us survive & activate RAW-UNLINK
(This used to be commit 4f0f917b344743e16e8bacf4e72529a2890590fe)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 607c12f8b1..cb25b69a31 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2074,7 +2074,7 @@ NTSTATUS unlink_internals(connection_struct *conn, uint32 dirtype,
/* Quick check for "." and ".." */
if (fname[0] == '.') {
if (!fname[1] || (fname[1] == '.' && !fname[2])) {
- if ((dirtype & FILE_ATTRIBUTE_DIRECTORY) && (dirtype & FILE_ATTRIBUTE_SYSTEM)) {
+ if (dirtype & FILE_ATTRIBUTE_DIRECTORY) {
sys_direntry = True;
} else {
continue;