2001-05-25 Joel Sherrill <joel@OARcorp.com>

* libc/base_fs.c: Deleted chmod() now that IMFS creates the
	root node with the desired permissions.  chmod() is also not
	supported by the miniIMFS so this is not allowable.
This commit is contained in:
Joel Sherrill
2001-05-25 13:46:02 +00:00
parent 6287b5773f
commit c891fe082e
4 changed files with 12 additions and 12 deletions

View File

@@ -84,11 +84,9 @@ void rtems_filesystem_initialize( void )
* *
* If the mkdir() fails, we can't print anything so just fatal error. * 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). * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually
* created that way by the IMFS.
*/ */
status=chmod("/", 0755);
if ( status != 0 )
rtems_fatal_error_occurred( 0xABCD0003 );
status = mkdir( "/dev", 0777); status = mkdir( "/dev", 0777);
if ( status != 0 ) if ( status != 0 )

View File

@@ -1,3 +1,9 @@
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* libc/base_fs.c: Deleted chmod() now that IMFS creates the
root node with the desired permissions. chmod() is also not
supported by the miniIMFS so this is not allowable.
2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es> 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid

View File

@@ -84,11 +84,9 @@ void rtems_filesystem_initialize( void )
* *
* If the mkdir() fails, we can't print anything so just fatal error. * 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). * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually
* created that way by the IMFS.
*/ */
status=chmod("/", 0755);
if ( status != 0 )
rtems_fatal_error_occurred( 0xABCD0003 );
status = mkdir( "/dev", 0777); status = mkdir( "/dev", 0777);
if ( status != 0 ) if ( status != 0 )

View File

@@ -84,11 +84,9 @@ void rtems_filesystem_initialize( void )
* *
* If the mkdir() fails, we can't print anything so just fatal error. * 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). * NOTE: UNIX root is 755 and owned by root/root (0/0). It is actually
* created that way by the IMFS.
*/ */
status=chmod("/", 0755);
if ( status != 0 )
rtems_fatal_error_occurred( 0xABCD0003 );
status = mkdir( "/dev", 0777); status = mkdir( "/dev", 0777);
if ( status != 0 ) if ( status != 0 )