Re: [Yaffs] Directory execute permission missing

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Directory execute permission missing
On Thursday 25 November 2010 05:14:31 Sébastien Bourdeauducq wrote:
> Hi,
>
> I'm trying to port YAFFS2 to RTEMS, using code close to the direct
> interface. I'm noticing that the permissions (field obj->yst_mode) of the
> root and /lost+found directory objects (haven't tried others yet) lack the
> execute permission - the field's value is 40666. Any idea about what might
> cause this?


Did you try setting the permissions?

>
> Thanks
> S.
> PS. port URL is https://github.com/lekernel/rtems-yaffs2, this is work in
> progress and isn't usable yet.


Please be aware of licensing issues. YAFFS is available under GPL2 or an
alternative license agreement with Aleph One. The usage of YAFFS under GPL is
not compatible with the RTEMS licensing.

RTEMS licensing is *based on* GPL2, but includes the following clause which
makes it different to the GPL2:

"As a special exception, including RTEMS header files in a file, instantiating
RTEMS generics or templates, or linking other files with RTEMS objects to
produce an executable application, does not by itself cause the resulting
executable application to be covered by the GNU General Public License. "

This exception does not apply to GPL2, and thus yaffs. As the RTEMS exception
goes on to say "This exception does not however invalidate any other reasons
why the executable file might be covered by the GNU Public License."

You are of course free to experiment with YAFFS, but you are probably on thin
ice publishing (ie. distributing the code).

I would encourage you to discuss the matter with Laurie Van Someren (CC'd).



-- CHarles