[Android-tools-devel] Google Android NDK Installer Package

Hans-Christoph Steiner hans at at.or.at
Thu Jun 30 11:28:38 UTC 2016



Mouaad Aallam:
>>
>> And another idea for improvement would be to make `wget` run as the
>> 'nobody' user, so that would mean something like:
>>
>>    install -d -m0700 --owner nobody $(DL_DIR)
>>
>> and
>>
>>    su nobody -s /bin/sh -c "wget --continue $(PKG_SOURCE_URL)"
>>
> 
> changing this not that simple after all, the debian/install (i think)
> creates the folder (to copy makefile and sha1) as root, before the postrm
> script (obviously), i will look for a way to tweak this
> 

(keeping the list in CC)

That install command, when run as root, should set the permissions properly.

.hc



More information about the Android-tools-devel mailing list