[oe] [PATCH] e2fsprogs: change mode of non-links only

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Fri Jan 14 10:09:24 UTC 2011


Khem Raj <raj.khem at gmail.com> writes:

> alternatively you can exclude patches directory from feeding into
> chmod

I do not think that excluding a single, implementation specific directory
is a good idea. When this or a future package contains symlinks to outside
the buildroot, problem would be triggered again.

Doing blindly 'find | xargs chmod' is just wrong...

I will submit a new patch which executes 'chmod -R u=rwx .' (this does
not dereference symlinks) instead of using the find pipe.


>> -	find ./ -print|xargs chmod u=rwX
>> +	find ./ ! -type l -print|xargs chmod u=rwX



Enrico




More information about the Openembedded-devel mailing list