summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 999ead9..c33b065 100644
--- a/main.c
+++ b/main.c
@@ -117,12 +117,12 @@ main (int argc, char **argv)
if (! S_ISDIR (underlying_node_stat.st_mode))
{
if (underlying_node_stat.st_mode & S_IRUSR)
- netfs_root_node->nn_stat.st_mode |= S_IRUSR;
+ netfs_root_node->nn_stat.st_mode |= S_IXUSR;
if (underlying_node_stat.st_mode & S_IRGRP)
- netfs_root_node->nn_stat.st_mode |= S_IRGRP;
+ netfs_root_node->nn_stat.st_mode |= S_IXGRP;
if (underlying_node_stat.st_mode & S_IROTH)
netfs_root_node->nn_stat.st_mode |= S_IXOTH;
- }
+ }
/* Update the timestamps of the root node. */
fshelp_touch (&netfs_root_node->nn_stat,