Whamcloud - gitweb
Branch HEAD
authorrobert.read <robert.read>
Tue, 31 Mar 2009 22:26:14 +0000 (22:26 +0000)
committerrobert.read <robert.read>
Tue, 31 Mar 2009 22:26:14 +0000 (22:26 +0000)
b=18861
i=h.huang
i=pavin

Default mode for mountpoint should be 0755.

(Landing for Fan Yong who is on a customer site this week.)

lustre/obdclass/md_local_object.c

index 7446cd8..1372e2c 100644 (file)
@@ -292,7 +292,7 @@ static struct md_object *llo_create_obj(const struct lu_env *env,
         spec->sp_ck_split = 0;
 
         if (feat == &dt_directory_features)
-                la->la_mode = S_IFDIR;
+                la->la_mode = S_IFDIR | S_IXUGO;
         else
                 la->la_mode = S_IFREG;