summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 13:47:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-25 13:47:47 +0000
commite807db0033c4c66470e12e87fa90d7a7b1d8be21 (patch)
tree32197baf7b588ba7b9c8396368a2236b532374d4 /cpukit
parentc891fe082e239cc8e4505590fa773833ab418f5a (diff)
downloadrtems-e807db0033c4c66470e12e87fa90d7a7b1d8be21.tar.bz2
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_initsupp.c: Create the root node with the desired permissions. Nodes should be created with the right permissions because chmod() is not supported by the miniIMFS so changing after creation is not possible.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libfs/ChangeLog7
-rw-r--r--cpukit/libfs/src/imfs/imfs_initsupp.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog
index c798d5efbe..eec53b4ddf 100644
--- a/cpukit/libfs/ChangeLog
+++ b/cpukit/libfs/ChangeLog
@@ -1,3 +1,10 @@
+2001-05-25 Joel Sherrill <joel@OARcorp.com>
+
+ * src/imfs/imfs_initsupp.c: Create the root node with the
+ desired permissions. Nodes should be created with the right
+ permissions because chmod() is not supported by the miniIMFS
+ so changing after creation is not possible.
+
2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
diff --git a/cpukit/libfs/src/imfs/imfs_initsupp.c b/cpukit/libfs/src/imfs/imfs_initsupp.c
index 3f7888d33b..bf0cb8ccdc 100644
--- a/cpukit/libfs/src/imfs/imfs_initsupp.c
+++ b/cpukit/libfs/src/imfs/imfs_initsupp.c
@@ -46,13 +46,15 @@ int IMFS_initialize_support(
/*
* Create the root node
+ *
+ * NOTE: UNIX root is 755 and owned by root/root (0/0).
*/
temp_mt_entry->mt_fs_root.node_access = IMFS_create_node(
NULL,
IMFS_DIRECTORY,
"",
- ( S_IFDIR | S_IRWXO | S_IRWXG| S_IRWXU ),
+ ( S_IFDIR | 0755 ),
NULL
);