Whamcloud - gitweb
Create the filesystem ROOT directory with 0755 permissions (the same as a
authoradilger <adilger>
Fri, 14 Jun 2002 03:24:50 +0000 (03:24 +0000)
committeradilger <adilger>
Fri, 14 Jun 2002 03:24:50 +0000 (03:24 +0000)
normal filesystem).

lustre/mds/mds_fs.c

index c65d088..8efca61 100644 (file)
@@ -247,7 +247,7 @@ static int mds_fs_prep(struct mds_obd *mds)
         int rc;
 
         push_ctxt(&saved, &mds->mds_ctxt);
-        dentry = simple_mkdir(current->fs->pwd, "ROOT", 0700);
+        dentry = simple_mkdir(current->fs->pwd, "ROOT", 0755);
         if (IS_ERR(dentry)) {
                 rc = PTR_ERR(dentry);
                 CERROR("cannot create ROOT directory: rc = %d\n", rc);