summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/libfs/ChangeLog7
-rw-r--r--c/src/exec/libfs/src/imfs/imfs_initsupp.c4
-rw-r--r--c/src/libfs/ChangeLog7
-rw-r--r--c/src/libfs/src/imfs/imfs_initsupp.c4
-rw-r--r--cpukit/libfs/ChangeLog7
-rw-r--r--cpukit/libfs/src/imfs/imfs_initsupp.c4
6 files changed, 30 insertions, 3 deletions
diff --git a/c/src/exec/libfs/ChangeLog b/c/src/exec/libfs/ChangeLog
index c798d5efbe..eec53b4ddf 100644
--- a/c/src/exec/libfs/ChangeLog
+++ b/c/src/exec/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/c/src/exec/libfs/src/imfs/imfs_initsupp.c b/c/src/exec/libfs/src/imfs/imfs_initsupp.c
index 3f7888d33b..bf0cb8ccdc 100644
--- a/c/src/exec/libfs/src/imfs/imfs_initsupp.c
+++ b/c/src/exec/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
);
diff --git a/c/src/libfs/ChangeLog b/c/src/libfs/ChangeLog
index c798d5efbe..eec53b4ddf 100644
--- a/c/src/libfs/ChangeLog
+++ b/c/src/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/c/src/libfs/src/imfs/imfs_initsupp.c b/c/src/libfs/src/imfs/imfs_initsupp.c
index 3f7888d33b..bf0cb8ccdc 100644
--- a/c/src/libfs/src/imfs/imfs_initsupp.c
+++ b/c/src/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
);
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
);