Permission for folder created during rtems_fsmount

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jan 17 08:21:56 UTC 2012


On 01/17/2012 09:01 AM, ali nasir wrote:
>
> Hi,
>
> We observed a change in the permissions of folders created during rtems_fsmount between the RTEMS4.9 and RTEMS4.10.
> When we mount the ramdisk on the 4.9 on path /mnt/ram, this directory has rwx permissions for all. But with the 4.10 the rwx permissions are only granted to the root. We use the RFS on the ramdisk.
>
> We see that a build function is introduced in the 4.10 and it plays with the permissions before calling the mknod function. Is the above behavior the desired behavior or it is a problem? What do we do so that the rwx permissions are given to everyone? We know that calling chmod just after mounting will solve this. But is there another way out?

Which permissions do the "/mnt" and "ram" have?  Please have a look at

http://pubs.opengroup.org/onlinepubs/009695399/functions/umask.html

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list