diff options
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/libfs/ChangeLog | 7 | ||||
-rw-r--r-- | c/src/exec/libfs/src/imfs/imfs_initsupp.c | 4 |
2 files changed, 10 insertions, 1 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 ); |