[OE-core] [PATCH 5/5] package.bbclass: fixup_perms - symlink bug fix

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Mon Jul 25 14:14:19 UTC 2011


Phil Blundell <philb-mXXj517/zsQ at public.gmane.org> writes:

>> We don't want to change the owner/mode of symlinks, as this may
>> affect the target of the link.  Also broken links will fail as well.
>
> This seems like it will cause links themselves to end up getting shipped
> under the UID/GID that was used for building

there should be used 'os.lchown()' instead of 'os.chown()' in fix_perms()
and the 'os.chmod()' call must be omitted for links.



Enrico




More information about the Openembedded-core mailing list