summaryrefslogtreecommitdiff
path: root/pgfuse.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-13 16:59:51 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-13 16:59:51 +0200
commit4877b1f058388e2fdf6e1b8e233b66ff589a5a34 (patch)
tree7fe1721e35c40d9c66874b76f5c680b8e985c096 /pgfuse.c
parent6035662c8cfc75156a14cf2b8a85a73f7905a954 (diff)
downloadpgfuse-4877b1f058388e2fdf6e1b8e233b66ff589a5a34.tar.gz
pgfuse-4877b1f058388e2fdf6e1b8e233b66ff589a5a34.tar.bz2
-
Diffstat (limited to 'pgfuse.c')
-rw-r--r--pgfuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgfuse.c b/pgfuse.c
index 2a05a68..6ab424f 100644
--- a/pgfuse.c
+++ b/pgfuse.c
@@ -437,6 +437,7 @@ static int pgfuse_mkdir( const char *path, mode_t mode )
new_dir = basename( copy_path );
+ /* not set by fuse */
mode |= S_IFDIR;
res = psql_create_dir( data->conn, parent_id, path, new_dir, mode );