summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/base_fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/base_fs.c')
-rw-r--r--cpukit/libcsupport/src/base_fs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/base_fs.c b/cpukit/libcsupport/src/base_fs.c
index 5a0e67b158..16fa9b8a88 100644
--- a/cpukit/libcsupport/src/base_fs.c
+++ b/cpukit/libcsupport/src/base_fs.c
@@ -49,12 +49,9 @@ void rtems_filesystem_initialize( void )
* Traditionally RTEMS devices are under "/dev" so install this directory.
*
* If the mkdir() fails, we can't print anything so just fatal error.
- *
- * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually
- * created that way by the IMFS.
*/
- rv = mkdir( "/dev", 0777);
+ rv = mkdir( "/dev", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH );
if ( rv != 0 )
rtems_fatal_error_occurred( 0xABCD0003 );