Hi KP Am 26.01.2015 um 18:58 schrieb kp kirchdoerfer: ...
>>>>> A problem has been introduced - when building the lwp package it >>>>> rewuires >>>>> root permission - caused by >>>>> >>>>> cd $* ; tar --owner=0 --group=0 --mode=755 -czf $(CURDIR)/$@ * >>>> >>>> Right, we should run tar under sudo. >>> >>> I'm afraid this will not help, it requires also a password.... >> >> No, you need to allow this in the sudoers file or the /etc/sudoers.d >> directory. Very neat to run unattended scripts with. >> ... > > I don't think changing /etc/sudoers* is what is a self-contained build env > should require. > Looking into tools/buildall.sh fakeroot does the job; so a quick woraround > would be to use fakeroot instead sudo? > A quick test shows that fakeroot does the job but only half-decent. It allows the creation of the .lwp files with the correctly set flags inside the tarballs and the copy command to the package directory. However, the file ownership of the .lwp files are for the user running buildtool.pl. Conclusion: fakeroot can be used if we are satisfied with the file ownership. My personal preference is sudo, as this does the real job. cheers ET
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel